block: move the partition_meta_info to struct block_device
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Nov 2020 11:01:45 +0000 (12:01 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Dec 2020 21:53:40 +0000 (14:53 -0700)
commit231926dbf0f084211e4ec4f4c006f0bf1f47809a
tree77076293127f7e2b7f216f5b6b63e72cb97f97f1
parent29ff57c61094e7bbd921ab10b5a99dce9a0132e0
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>
block/blk.h
block/genhd.c
block/partitions/core.c
fs/block_dev.c
include/linux/blk_types.h
include/linux/genhd.h
init/do_mounts.c