Skip to content

Commit 04dad2c

Browse files
chucklevergregkh
authored andcommitted
xprtrdma: rpcrdma_mr_pop() already does list_del_init()
[ Upstream commit 1363e63 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent eddae8b commit 04dad2c

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
@@ -555,7 +555,6 @@ void frwr_unmap_sync(struct rpcrdma_xprt *r_xprt, struct rpcrdma_req *req)
555555
mr = container_of(frwr, struct rpcrdma_mr, frwr);
556556
bad_wr = bad_wr->next;
557557

558-
list_del_init(&mr->mr_list);
559558
frwr_mr_recycle(mr);
560559
}
561560
}

0 commit comments

Comments
 (0)