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