diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2021-04-19 14:02:54 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-26 09:24:22 -0400 |
commit | 1363e6388c363d0433f9aa4e2f33efe047572687 (patch) | |
tree | a461057ea37ea2e129f48080c12dd2a023cddb85 /net/sunrpc/xprtrdma | |
parent | c35ca60d490e32b7e7d21f344693ea29d4f4a9d3 (diff) | |
download | linux-stable-1363e6388c363d0433f9aa4e2f33efe047572687.tar.gz linux-stable-1363e6388c363d0433f9aa4e2f33efe047572687.tar.bz2 linux-stable-1363e6388c363d0433f9aa4e2f33efe047572687.zip |
xprtrdma: rpcrdma_mr_pop() already does list_del_init()
The rpcrdma_mr_pop() earlier in the function has already cleared
out mr_list, so it must not be done again in the error path.
Fixes: 847568942f93 ("xprtrdma: Remove fr_state")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc/xprtrdma')
-rw-r--r-- | net/sunrpc/xprtrdma/frwr_ops.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/frwr_ops.c b/net/sunrpc/xprtrdma/frwr_ops.c index 132df9b59ab4..aca2228095db 100644 --- a/net/sunrpc/xprtrdma/frwr_ops.c +++ b/net/sunrpc/xprtrdma/frwr_ops.c @@ -576,7 +576,6 @@ void frwr_unmap_sync(struct rpcrdma_xprt *r_xprt, struct rpcrdma_req *req) mr = container_of(frwr, struct rpcrdma_mr, frwr); bad_wr = bad_wr->next; - list_del_init(&mr->mr_list); frwr_mr_recycle(mr); } } |