https://github.com/torvalds/linux
Revision 2d4594acbf6d8f75a27f3578476b6a27d8b13ebb authored by Al Viro on 08 December 2015, 17:22:47 UTC, committed by Al Viro on 08 December 2015, 20:02:42 UTC
Sure, it's better to bail out of past-the-eof read and return 0 than return
a bogus negative value on such.  Only we'd better make sure we are bailing out
with 0 and not -ENOMEM...

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 4ad7862
History
Tip revision: 2d4594acbf6d8f75a27f3578476b6a27d8b13ebb authored by Al Viro on 08 December 2015, 17:22:47 UTC
fix the regression from "direct-io: Fix negative return from dio read beyond eof"
Tip revision: 2d4594a
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.9 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 328.5 KB
Makefile -rw-r--r-- 53.5 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top