diff options
author | Guoqing Jiang <guoqing.jiang@linux.dev> | 2022-07-06 16:31:50 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-08-03 02:14:45 +0300 |
commit | fb516fa367a3554f3b71a0b37a52716cc358ea65 (patch) | |
tree | b6b4e1ad96369e862f23efd37853d94a607525ee /drivers/block/zram | |
parent | 59f070de125f568fb7ba47b6555b4013e30f28fd (diff) | |
download | linux-fb516fa367a3554f3b71a0b37a52716cc358ea65.tar.xz |
rnbd-clt: check capacity inside rnbd_clt_change_capacity
Currently, process_msg_open_rsp checks if capacity changed or not before
call rnbd_clt_change_capacity while the checking also make sense for
rnbd_clt_resize_dev_store, let's move the checking into the function.
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Link: https://lore.kernel.org/r/20220706133152.12058-7-guoqing.jiang@linux.dev
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/zram')
0 files changed, 0 insertions, 0 deletions