diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2006-12-15 00:01:05 +0300 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-12-29 03:38:08 +0300 |
commit | 564f8a3228879d6962edb3432d01bcd7499a67ec (patch) | |
tree | 6e3a1b840e3061e7a1bc4df56287a99c2f513a47 /COPYING | |
parent | 0333394bff439c3fb09264303de42e7038b3e709 (diff) | |
download | linux-564f8a3228879d6962edb3432d01bcd7499a67ec.tar.xz |
ocfs2: Allow direct I/O read past end of file
ocfs2_direct_IO_get_blocks() was incorrectly returning -EIO for a direct I/O
read whose start block was past the end of the file allocation tree. Fix
things so that we return a hole instead. do_direct_IO() will then notice
that the range start is past eof and return a short read.
While there, remove the unused vbo_max variable.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions