summaryrefslogtreecommitdiffstats
path: root/block/blk.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-11-24 12:01:45 +0100
committerJens Axboe <axboe@kernel.dk>2020-12-01 14:53:40 -0700
commit231926dbf0f084211e4ec4f4c006f0bf1f47809a (patch)
tree77076293127f7e2b7f216f5b6b63e72cb97f97f1 /block/blk.h
parent29ff57c61094e7bbd921ab10b5a99dce9a0132e0 (diff)
downloadlinux-231926dbf0f084211e4ec4f4c006f0bf1f47809a.tar.bz2
block: move the partition_meta_info to struct block_device
Move the partition_meta_info to struct block_device in preparation for killing struct hd_struct. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
-rw-r--r--block/blk.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk.h b/block/blk.h
index 3f801f6e86f8..0bd4b58bcbaf 100644
--- a/block/blk.h
+++ b/block/blk.h
@@ -381,7 +381,6 @@ static inline void hd_struct_put(struct hd_struct *part)
static inline void hd_free_part(struct hd_struct *part)
{
- kfree(part->info);
bdput(part->bdev);
percpu_ref_exit(&part->ref);
}