diff --git a/[refs] b/[refs] index e91212ae6ce7..51c03451cc58 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: adee14b2e1557d0a8559f29681732d05a89dfc35 +refs/heads/master: 0e116227a01580acf47437adba3afadf21b6bd5f diff --git a/trunk/fs/ocfs2/aops.c b/trunk/fs/ocfs2/aops.c index 506c24fb5078..a53da1466277 100644 --- a/trunk/fs/ocfs2/aops.c +++ b/trunk/fs/ocfs2/aops.c @@ -594,7 +594,7 @@ static int ocfs2_direct_IO_get_blocks(struct inode *inode, sector_t iblock, goto bail; } - if (!ocfs2_sparse_alloc(OCFS2_SB(inode->i_sb)) && !p_blkno) { + if (!ocfs2_sparse_alloc(OCFS2_SB(inode->i_sb)) && !p_blkno && create) { ocfs2_error(inode->i_sb, "Inode %llu has a hole at block %llu\n", (unsigned long long)OCFS2_I(inode)->ip_blkno,