diff options
author | Christoph Hellwig <hch@lst.de> | 2020-11-24 12:01:45 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-01 22:53:40 +0100 |
commit | 231926dbf0f084211e4ec4f4c006f0bf1f47809a (patch) | |
tree | 77076293127f7e2b7f216f5b6b63e72cb97f97f1 /block/blk.h | |
parent | block: move the start_sect field to struct block_device (diff) | |
download | linux-231926dbf0f084211e4ec4f4c006f0bf1f47809a.tar.xz linux-231926dbf0f084211e4ec4f4c006f0bf1f47809a.zip |
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.h | 1 |
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); } |