diff options
| author | Christoph Hellwig <hch@lst.de> | 2020-11-16 15:57:08 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2020-11-16 08:34:14 -0700 |
| commit | 230272b4f809d51c8b21d46dcec99f265b0842ec (patch) | |
| tree | 8f19e65bdf4ee563b49b394aab3da24ece757ff5 /drivers/fpga/fpga-bridge.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 <hch@lst.de>
Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
