aboutsummaryrefslogtreecommitdiff
path: root/fs/smb/client/cifspdu.h
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2024-01-21 03:32:45 +0000
committerSteve French <stfrench@microsoft.com>2024-01-23 20:23:28 -0600
commita68106a6928e0a6680f12bcc7338c0dddcfe4d11 (patch)
tree5ca2fd8ebc1c4860b2a244b42c67a98bc946ba0d /fs/smb/client/cifspdu.h
parentfc43a8ac396d302ced1e991e4913827cf72c8eb9 (diff)
cifs: translate network errors on send to -ECONNABORTED
When the network stack returns various errors, we today bubble up the error to the user (in case of soft mounts). This change translates all network errors except -EINTR and -EAGAIN to -ECONNABORTED. A similar approach is taken when we receive network errors when reading from the socket. The change also forces the cifsd thread to reconnect during it's next activity. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/cifspdu.h')
0 files changed, 0 insertions, 0 deletions