From: Mark Fasheh Date: Thu, 14 Dec 2006 21:01:05 +0000 (-0800) Subject: ocfs2: Allow direct I/O read past end of file X-Git-Tag: v2.6.20-rc3~6^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=564f8a3228879d6962edb3432d01bcd7499a67ec;p=pandora-kernel.git 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 --- Reading git-diff-tree failed