cifs: smbd: Invalidate and deregister memory registration on re-send for direct I/O
authorLong Li <longli@microsoft.com>
Tue, 15 Oct 2019 22:54:50 +0000 (22:54 +0000)
committerSteve French <stfrench@microsoft.com>
Mon, 25 Nov 2019 07:14:14 +0000 (01:14 -0600)
commitb7a55bbd6d5402bfbadcfb3904e3c75b38ab5ba4
tree262d00ad8925eb1b14601c8b2c51b94d0c1e6d0c
parent14cc639c17ab0b6671526a7459087352507609e4
cifs: smbd: Invalidate and deregister memory registration on re-send for direct I/O

On re-send, there might be a reconnect and all prevoius memory registrations
need to be invalidated and deregistered.

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