mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
xprtrdma: rpcrdma_mr_pop() already does list_del_init()
[ Upstream commit1363e6388c] 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:847568942f("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
eddae8be79
commit
04dad2ca1f
@@ -555,7 +555,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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user