aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilov@microsoft.com>2019-01-18 15:54:34 -0800
committerSteve French <stfrench@microsoft.com>2019-01-29 17:27:16 -0600
commit082aaa8700415f6471ec9c5ef0c8307ca214989a (patch)
treeea76aa51f062996e240f31ad35d527dd41ba7049 /net/unix/af_unix.c
parentCIFS: Do not count -ENODATA as failure for query directory (diff)
downloadwireguard-linux-082aaa8700415f6471ec9c5ef0c8307ca214989a.tar.xz
wireguard-linux-082aaa8700415f6471ec9c5ef0c8307ca214989a.zip
CIFS: Do not consider -ENODATA as stat failure for reads
When doing reads beyound the end of a file the server returns error STATUS_END_OF_FILE error which is mapped to -ENODATA. Currently we report it as a failure which confuses read stats. Change it to not consider -ENODATA as failure for stat purposes. Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com> CC: Stable <stable@vger.kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions