diff options
author | Guoqing Jiang <guoqing.jiang@linux.dev> | 2022-11-17 18:19:39 +0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2022-11-17 13:47:28 +0200 |
commit | 0f597ac618d04beb9de997fda59a29c9d3818fb2 (patch) | |
tree | 402ca35e477bd177dbc43824d9fcc3ca02b714d3 /mm/gup_test.c | |
parent | d7115727e32e94c77a5441892e74ae0339afa1a5 (diff) |
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 'mm/gup_test.c')
0 files changed, 0 insertions, 0 deletions