Mark Fasheh 564f8a3228 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>
2006-12-28 16:38:08 -08:00
..
2006-12-08 08:28:48 -08:00
2006-12-07 17:37:53 -08:00
2006-12-01 18:28:51 -08:00
2006-12-07 08:39:25 -08:00
2006-12-01 18:29:14 -08:00
2006-12-07 17:37:53 -08:00
2006-12-07 17:37:53 -08:00
2006-12-07 08:39:25 -08:00
2006-09-20 15:48:39 -07:00
2006-12-07 17:37:53 -08:00
2006-12-07 17:37:53 -08:00
2006-09-20 15:48:39 -07:00
2006-12-07 17:37:53 -08:00
2006-12-07 17:37:53 -08:00
2006-12-07 17:37:53 -08:00
2006-03-24 14:58:24 -08:00
2006-12-07 08:39:25 -08:00
2006-09-24 13:50:43 -07:00