[PATCH 39/45] block: remove the partno field from struct hd_struct

Hannes Reinecke hare at suse.de
Mon Nov 30 02:47:54 EST 2020


On 11/28/20 5:15 PM, Christoph Hellwig wrote:
> Just use the bd_partno field in struct block_device everywhere.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Jan Kara <jack at suse.cz>
> ---
>   block/genhd.c           | 12 ++++++------
>   block/partitions/core.c |  9 ++++-----
>   include/linux/genhd.h   |  1 -
>   init/do_mounts.c        |  2 +-
>   4 files changed, 11 insertions(+), 13 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare at suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare at 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



More information about the linux-mtd mailing list