diff options
author | Christoph Hellwig <[email protected]> | 2020-11-16 15:57:08 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-11-16 08:34:14 -0700 |
commit | 230272b4f809d51c8b21d46dcec99f265b0842ec (patch) | |
tree | 8f19e65bdf4ee563b49b394aab3da24ece757ff5 /tools/lib/api/debug.c | |
parent | e864e49af3a85797b51b36876087591602de2eb4 (diff) |
rnbd: 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 <[email protected]>
Acked-by: Jack Wang <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions