diff options
author | Shyam Prasad N | 2024-01-21 03:32:46 +0000 |
---|---|---|
committer | Steve French | 2024-01-23 20:23:28 -0600 |
commit | 64cc377b7628b81ffdbdb1c6bacfba895dcac3f8 (patch) | |
tree | 88c5b7abcf34ceea065540276163a01036ff8cee /fs/mpage.c | |
parent | a68106a6928e0a6680f12bcc7338c0dddcfe4d11 (diff) |
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/mpage.c')
0 files changed, 0 insertions, 0 deletions