diff options
author | Christoph Hellwig <[email protected]> | 2020-11-16 15:57:03 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-11-16 08:34:14 -0700 |
commit | f64d9b2eacb95d4fbd17c8680cab803a5965744c (patch) | |
tree | 620012f61011030a4c215001825da165cebad78c /tools/lib/api/debug.c | |
parent | 8a6f7bbf29d1d61d3ff18f0a0feead9f287c9b14 (diff) |
dm: 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]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions