cifs: smbd: Retry on memory registration failure
authorLong Li <longli@microsoft.com>
Fri, 5 Apr 2019 21:36:34 +0000 (21:36 +0000)
committerSteve French <stfrench@microsoft.com>
Wed, 8 May 2019 04:24:55 +0000 (23:24 -0500)
commitb7972092199f6d4eb10cc44095bbe3931116fc4b
tree900c90e37d39647d2c247f6c480c386f8c266b59
parent62fdf6707ebd46ae97e3cb7a7d246b05c3c619f1
cifs: smbd: Retry on memory registration failure

Memory registration failure doesn't mean this I/O has failed, it means the
transport is hitting I/O error or needs reconnect. This error is not from
the server.

Indicate this error to upper layer, and let upper layer decide how to
reconnect and proceed with this I/O.

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