]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xprtrdma: On invalidation failure, remove MWs from rl_registered
authorChuck Lever <chuck.lever@oracle.com>
Thu, 8 Jun 2017 15:51:48 +0000 (11:51 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 20:00:09 +0000 (16:00 -0400)
commit04d25b7d5d1b43fbaffe4ad4bb21288f0f305338
tree1311a3a44db9446d79fcbbf7c0a94b13bcb25709
parent26fde4dfcbdcbbac394bb35de0c0f842de6972b5
xprtrdma: On invalidation failure, remove MWs from rl_registered

Callers assume the ro_unmap_sync and ro_unmap_safe methods empty
the list of registered MRs. Ensure that all paths through
fmr_op_unmap_sync() remove MWs from that list.

Fixes: 9d6b04097882 ("xprtrdma: Place registered MWs on a ... ")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/fmr_ops.c