summaryrefslogtreecommitdiff
path: root/drivers/block/rbd.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-11-16 17:57:06 +0300
committerJens Axboe <axboe@kernel.dk>2020-11-16 18:34:14 +0300
commitbc254eb44f9dfce278b53b714fb7bb963253789d (patch)
tree6b16a64e8177c50fa76ff9237c8ba3a3d98301b8 /drivers/block/rbd.c
parentd17e66aadbe50b7207187d6b2293fc2ddaab2c99 (diff)
downloadlinux-bc254eb44f9dfce278b53b714fb7bb963253789d.tar.xz
drbd: use set_capacity_and_notify
Use set_capacity_and_notify to set the size of both the disk and block device. This also gets the uevent notifications for the resize for free. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/rbd.c')
0 files changed, 0 insertions, 0 deletions