summaryrefslogtreecommitdiff
path: root/drivers/block/zram
diff options
context:
space:
mode:
authorGuoqing Jiang <guoqing.jiang@linux.dev>2022-07-06 16:31:50 +0300
committerJens Axboe <axboe@kernel.dk>2022-08-03 02:14:45 +0300
commitfb516fa367a3554f3b71a0b37a52716cc358ea65 (patch)
treeb6b4e1ad96369e862f23efd37853d94a607525ee /drivers/block/zram
parent59f070de125f568fb7ba47b6555b4013e30f28fd (diff)
downloadlinux-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