diff options
author | Guoqing Jiang <guoqing.jiang@linux.dev> | 2022-11-17 11:19:39 +0100 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2022-11-17 12:47:28 +0100 |
commit | 0f597ac618d04beb9de997fda59a29c9d3818fb2 (patch) | |
tree | 402ca35e477bd177dbc43824d9fcc3ca02b714d3 /crypto/proc.c | |
parent | RDMA/rtrs-srv: Refactor rtrs_srv_rdma_cm_handler (diff) | |
download | linux-0f597ac618d04beb9de997fda59a29c9d3818fb2.tar.xz linux-0f597ac618d04beb9de997fda59a29c9d3818fb2.zip |
RDMA/rtrs-srv: Refactor the handling of failure case in map_cont_bufs
Let's call unmap_cont_bufs when failure happens, and also only update
mrs_num after everything is settled which means we can remove 'mri'.
Acked-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Link: https://lore.kernel.org/r/20221117101945.6317-3-guoqing.jiang@linux.dev
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'crypto/proc.c')
0 files changed, 0 insertions, 0 deletions