summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-12-08 12:22:47 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2015-12-08 15:02:42 -0500
commit2d4594acbf6d8f75a27f3578476b6a27d8b13ebb (patch)
tree0cb700c7c026748b47afee0b25c8d3c3e255b6c6 /fs/dcache.c
parent4ad78628445d26e5e9487b2e8f23274ad7b0f5d3 (diff)
downloadlinux-2d4594acbf6d8f75a27f3578476b6a27d8b13ebb.tar.bz2
fix the regression from "direct-io: Fix negative return from dio read beyond eof"
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>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions