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

Hannes Reinecke
2020-11-30T07:51:07Z

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@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@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