Skip to content

Commit 1363e63

Browse files
chuckleverTrond Myklebust
authored andcommitted
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: 8475689 ("xprtrdma: Remove fr_state") Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
1 parent c35ca60 commit 1363e63

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎net/sunrpc/xprtrdma/frwr_ops.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,6 @@ void frwr_unmap_sync(struct rpcrdma_xprt *r_xprt, struct rpcrdma_req *req)
576576
mr = container_of(frwr, struct rpcrdma_mr, frwr);
577577
bad_wr = bad_wr->next;
578578

579-
list_del_init(&mr->mr_list);
580579
frwr_mr_recycle(mr);
581580
}
582581
}

0 commit comments

Comments
 (0)