Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109750
b: refs/heads/master
c: 0e11622
h: refs/heads/master
v: v3
  • Loading branch information
Tao Ma authored and Mark Fasheh committed Sep 10, 2008
1 parent 68dab4e commit 15fa0c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: adee14b2e1557d0a8559f29681732d05a89dfc35
refs/heads/master: 0e116227a01580acf47437adba3afadf21b6bd5f
2 changes: 1 addition & 1 deletion trunk/fs/ocfs2/aops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 15fa0c2

Please sign in to comment.