block: remove the update_bdev parameter to set_capacity_revalidate_and_notify
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Nov 2020 14:56:56 +0000 (15:56 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Nov 2020 15:34:14 +0000 (08:34 -0700)
commit449f4ec9892ebc2f37a7eae6d97db2cf7c65e09a
tree83d296e86fbbb838ba5c0e08cc152d3c688b3012
parentb200e38c493b2a5acff4f86d40a3e45d546c664c
block: remove the update_bdev parameter to set_capacity_revalidate_and_notify

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@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
drivers/block/loop.c
drivers/block/virtio_blk.c
drivers/block/xen-blkfront.c
drivers/nvme/host/core.c
drivers/scsi/sd.c
include/linux/genhd.h