]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: rpcrdma_mr_pop() already does list_del_init()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 19 Apr 2021 18:02:54 +0000 (14:02 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 26 Apr 2021 13:24:22 +0000 (09:24 -0400)
commit61a96c9a9d54da6c9de5b99a31ad8dff62ed0a2a
treea461057ea37ea2e129f48080c12dd2a023cddb85
parent89460d3bda2c8842e0dc9082706ef8f2b3784110
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: 169bb11d0995 ("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