virtio-blk: remove a spurious call to revalidate_disk_size
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Nov 2020 14:57:13 +0000 (15:57 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Nov 2020 15:34:15 +0000 (08:34 -0700)
commitddff331a14eb7d5af08e63579ba28c289db26e20
treee2d7bc6a0e53558d316d81e6c93eeb1a51896507
parent94d91e7f8c221260790a482373d347ea85efb7b3
virtio-blk: remove a spurious call to revalidate_disk_size

revalidate_disk_size just updates the block device size from the disk
size.  Thus calling it from virtblk_update_cache_mode doesn't actually
do anything.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/virtio_blk.c