summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-delay.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-11-16 15:57:11 +0100
committerJens Axboe <axboe@kernel.dk>2020-11-16 16:34:15 +0100
commit2c247c5169b50d58f63c0e82a58f457343e49d10 (patch)
treeda1c1257c7b99e936675de864781880be455ee7c /drivers/md/dm-delay.c
parentdm-raid: use set_capacity_and_notify (diff)
downloadlinux-2c247c5169b50d58f63c0e82a58f457343e49d10.tar.xz
linux-2c247c5169b50d58f63c0e82a58f457343e49d10.zip
md: 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> Acked-by: Song Liu <song@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm-delay.c')
0 files changed, 0 insertions, 0 deletions