projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c35ca60
)
xprtrdma: rpcrdma_mr_pop() already does list_del_init()
author
Chuck Lever
<chuck.lever@oracle.com>
Mon, 19 Apr 2021 18:02:54 +0000
(14:02 -0400)
committer
Trond Myklebust
<trond.myklebust@hammerspace.com>
Mon, 26 Apr 2021 13:24:22 +0000
(09:24 -0400)
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>
net/sunrpc/xprtrdma/frwr_ops.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/xprtrdma/frwr_ops.c
b/net/sunrpc/xprtrdma/frwr_ops.c
index
132df9b
..
aca2228
100644
(file)
--- 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);
}
}