Re: [PATCH 33/45] block: move the partition_meta_info to struct block_device

Hannes Reinecke
2020-11-30T07:42:38Z

On 11/28/20 5:14 PM, Christoph Hellwig wrote:
> 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>
> ---
> block/blk.h | 1 -
> block/genhd.c | 3 ++-
> block/partitions/core.c | 18 +++++++-----------
> fs/block_dev.c | 1 +
> include/linux/blk_types.h | 2 ++
> include/linux/genhd.h | 1 -
> init/do_mounts.c | 7 ++++---
> 7 files changed, 16 insertions(+), 17 deletions(-)
> Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer