summaryrefslogtreecommitdiff
path: root/fs/smb/client/smb2inode.c
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2024-01-21 06:32:46 +0300
committerSteve French <stfrench@microsoft.com>2024-01-24 05:23:28 +0300
commit64cc377b7628b81ffdbdb1c6bacfba895dcac3f8 (patch)
tree88c5b7abcf34ceea065540276163a01036ff8cee /fs/smb/client/smb2inode.c
parenta68106a6928e0a6680f12bcc7338c0dddcfe4d11 (diff)
downloadlinux-64cc377b7628b81ffdbdb1c6bacfba895dcac3f8.tar.xz
cifs: helper function to check replayable error codes
The code to check for replay is not just -EAGAIN. In some cases, the send request or receive response may result in network errors, which we're now mapping to -ECONNABORTED. This change introduces a helper function which checks if the error returned in one of the above two errors. And all checks for replays will now use this helper. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/smb2inode.c')
0 files changed, 0 insertions, 0 deletions