[PATCH 05/24] block: remove the update_bdev parameter from set_capacity_revalidate_and_notify
Hannes Reinecke
hare at suse.de
Wed Nov 11 08:07:43 EST 2020
On 11/11/20 9:26 AM, Christoph Hellwig wrote:
> The update_bdev argument is always set to true, so remove it. Also
> rename the function to the slighly less verbose set_capacity_and_notify,
> as propagating the disk size to the block device isn't really
> revalidation.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
> block/genhd.c | 13 +++++--------
> drivers/block/loop.c | 11 +++++------
> drivers/block/virtio_blk.c | 2 +-
> drivers/block/xen-blkfront.c | 2 +-
> drivers/nvme/host/core.c | 2 +-
> drivers/scsi/sd.c | 5 ++---
> include/linux/genhd.h | 3 +--
> 7 files changed, 16 insertions(+), 22 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-nvme
mailing list