loop: let set_capacity_revalidate_and_notify update the bdev size
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Nov 2020 14:56:53 +0000 (15:56 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Nov 2020 15:34:14 +0000 (08:34 -0700)
commit3b4f85d02a4bd85cbea999a064235a47694bbb7b
treeb178420e56a53b32eb23554fccbe4338bce183e9
parent99473d9db93a3bf557161373a1eb33d2873edd2e
loop: let set_capacity_revalidate_and_notify update the bdev size

There is no good reason to call revalidate_disk_size separately.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c