commit | 57b7d61c2d89e3e0665b9cdcc8fb73b08d10f0c2 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Dec 08 12:22:47 2015 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jan 31 11:23:40 2016 -0800 |
tree | ce2299319005c3ce03e5ac17be87f7206e844783 | |
parent | 8885e7f3d76a9d42eb4fd97a3cfc5a8ac7f6f2ff [diff] |
fix the regression from "direct-io: Fix negative return from dio read beyond eof" commit 2d4594acbf6d8f75a27f3578476b6a27d8b13ebb upstream. 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... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>