diff options
| author | Guoqing Jiang <guoqing.jiang@linux.dev> | 2022-07-06 21:31:50 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2022-08-02 17:14:45 -0600 |
| commit | fb516fa367a3554f3b71a0b37a52716cc358ea65 (patch) | |
| tree | b6b4e1ad96369e862f23efd37853d94a607525ee /include/linux/errseq.h | |
| parent | 59f070de125f568fb7ba47b6555b4013e30f28fd (diff) | |
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 'include/linux/errseq.h')
0 files changed, 0 insertions, 0 deletions
