summaryrefslogtreecommitdiffstats
path: root/lib/irq_poll.c
diff options
context:
space:
mode:
authorPavel Shilovsky2019-01-19 00:54:34 +0100
committerGreg Kroah-Hartman2019-02-06 17:30:11 +0100
commite9d56f920bb26eee1a1e574463e7a1fea5a1164e (patch)
tree451b4afc39315498ac56d42024319482b30f8715 /lib/irq_poll.c
parentCIFS: Fix trace command logging for SMB2 reads and writes (diff)
downloadkernel-qcow2-linux-e9d56f920bb26eee1a1e574463e7a1fea5a1164e.tar.gz
kernel-qcow2-linux-e9d56f920bb26eee1a1e574463e7a1fea5a1164e.tar.xz
kernel-qcow2-linux-e9d56f920bb26eee1a1e574463e7a1fea5a1164e.zip
CIFS: Do not consider -ENODATA as stat failure for reads
commit 082aaa8700415f6471ec9c5ef0c8307ca214989a upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions