search for: 80fa3fc

Displaying 1 result from an estimated 1 matches for "80fa3fc".

Did you mean: 80f3fd
2008 Sep 02
1
[PATCH] ocfs2: Fix a bug in direct IO read.
...f 1.2 and copy the read check there. And actually I think even with sparse-enabled, this read check is ok. Signed-off-by: Tao Ma <tao.ma at oracle.com> --- fs/ocfs2/aops.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c index 80fa3fc..f27c1cc 100644 --- a/fs/ocfs2/aops.c +++ b/fs/ocfs2/aops.c @@ -576,6 +576,14 @@ static int ocfs2_direct_IO_get_blocks(struct inode *inode, sector_t iblock, inode_blocks = ocfs2_blocks_for_bytes(inode->i_sb, i_size_read(inode)); /* + * For a read which begins past the end of file, we retu...