[PATCH 42/45] block: switch disk_part_iter_* to use a struct block_device

Hannes Reinecke hare at suse.de
Mon Nov 30 02:50:08 EST 2020


On 11/28/20 5:15 PM, Christoph Hellwig wrote:
> Switch the partition iter infrastructure to iterate over block_device
> references instead of hd_struct ones mostly used to get at the
> block_device.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
>   block/genhd.c             | 59 ++++++++++++++++++++-------------------
>   block/partitions/core.c   | 13 ++++-----
>   drivers/s390/block/dasd.c |  8 +++---
>   include/linux/genhd.h     |  4 +--
>   4 files changed, 42 insertions(+), 42 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