nvme: Convert to use set_capacity_revalidate_and_notify
authorBalbir Singh <sblbir@amazon.com>
Fri, 13 Mar 2020 05:30:08 +0000 (05:30 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 18 Mar 2020 21:13:21 +0000 (15:13 -0600)
commitcb224c3af4df5996246eb779a23d968a8aabad28
tree5e09a2670019f5e146f0e56170ae523a6fc9c4f6
parent3cbc28bb902b8e3a8a216e21eee1a67dd474eb43
nvme: Convert to use set_capacity_revalidate_and_notify

block/genhd provides set_capacity_revalidate_and_notify() for
sending RESIZE notifications via uevents. This notification is
newly added to NVME devices

Signed-off-by: Balbir Singh <sblbir@amazon.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c