diff options
author | Pavel Shilovsky <pshilov@microsoft.com> | 2019-01-18 15:46:14 -0800 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-03-04 20:06:39 -0600 |
commit | 6b15eb18c6a9ddfbb387456c0f1ed86d987cb741 (patch) | |
tree | b6676f2f9fbd1ff591d35cd0a4cd79a10f121837 /fs/cifs/smb2ops.c | |
parent | 969ae8e8d4ee54c99134d3895f2adf96047f5bee (diff) |
CIFS: Always reset read error to -EIO if no response
Currently we skip setting a read error to -EIO if a stored
result is -ENODATA and a response hasn't been received. With
the recent changes in read error processing there shouldn't be
cases when -ENODATA is set without a response from the server,
so reset the error to -EIO unconditionally.
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2ops.c')
0 files changed, 0 insertions, 0 deletions