xen-blkfront.c: Convert to use set_capacity_revalidate_and_notify
authorBalbir Singh <sblbir@amazon.com>
Fri, 13 Mar 2020 05:30:07 +0000 (05:30 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 18 Mar 2020 21:13:21 +0000 (15:13 -0600)
commit3cbc28bb902b8e3a8a216e21eee1a67dd474eb43
tree636fab19845a2e6926c17a54ff31b8e775f63248
parent662155e2898dd1c3915e420378bb6c0826548e70
xen-blkfront.c: Convert to use set_capacity_revalidate_and_notify

block/genhd provides set_capacity_revalidate_and_notify() for
sending RESIZE notifications via uevents.

Signed-off-by: Balbir Singh <sblbir@amazon.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/xen-blkfront.c