CIFS: SMBD: Do not call ib_dereg_mr on invalidated memory registration
authorLong Li <longli@microsoft.com>
Thu, 20 Sep 2018 21:18:39 +0000 (21:18 +0000)
committerSteve French <stfrench@microsoft.com>
Wed, 24 Oct 2018 02:16:05 +0000 (21:16 -0500)
commitff526d86051f3689fe41e235ab962389d43999a9
tree3daf4db1a768703e292252f2ad4a9da07c589c62
parent6d3adb23becb7b14995f6171c1d9f7f3baab1c79
CIFS: SMBD: Do not call ib_dereg_mr on invalidated memory registration

It is not necessary to deregister a memory registration after it has been
successfully invalidated.

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smbdirect.c