nvme: let set_capacity_revalidate_and_notify update the bdev size
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Nov 2020 14:56:54 +0000 (15:56 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Nov 2020 15:34:14 +0000 (08:34 -0700)
commit5dd55749b79cdf471ca0966ad91541daebac3e2f
tree29651cef3ceb6f3641db89554be265fddce0c9ac
parent3b4f85d02a4bd85cbea999a064235a47694bbb7b
nvme: 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/nvme/host/core.c