• M
    ocfs2: Allow direct I/O read past end of file · 564f8a32
    Mark Fasheh 提交于
    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: NMark Fasheh <mark.fasheh@oracle.com>
    564f8a32
aops.c 17.4 KB