Re: [PATCH 18/26] block: Simplify blk_revalidate_disk_zones() interface

Hannes Reinecke
2024-02-04T12:35:38Z

On 2/2/24 15:30, Damien Le Moal wrote:
> The only user of blk_revalidate_disk_zones() second argument was the
> SCSI disk driver (sd). Now that this driver does not require this
> update_driver_data argument, remove it to simplify the interface of
> blk_revalidate_disk_zones(). Also update the function kdoc comment to
> be more accurate (i.e. there is no gendisk ->revalidate method).
>
> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
> ---
> block/blk-zoned.c | 16 +++++-----------
> drivers/block/null_blk/zoned.c | 2 +-
> drivers/block/ublk_drv.c | 2 +-
> drivers/block/virtio_blk.c | 2 +-
> drivers/md/dm-zone.c | 2 +-
> drivers/nvme/host/zns.c | 2 +-
> drivers/scsi/sd_zbc.c | 2 +-
> include/linux/blkdev.h | 3 +--
> 8 files changed, 12 insertions(+), 19 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), GF: Ivo Totev, Andrew McDonald,
Werner Knoblich