Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185462
b: refs/heads/master
c: cbaee47
h: refs/heads/master
v: v3
  • Loading branch information
Tao Ma authored and Joel Becker committed Feb 26, 2010
1 parent f2d1021 commit 91be827
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 66b116c9d8f70baadf5b2145dddb35af222df041
refs/heads/master: cbaee472f274ea9a98aabe47025f6e5551acadcb
5 changes: 3 additions & 2 deletions trunk/fs/ocfs2/aops.c
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,9 @@ static int ocfs2_direct_IO_get_blocks(struct inode *inode, sector_t iblock,
goto bail;
}

/* We should already CoW the refcounted extent. */
BUG_ON(ext_flags & OCFS2_EXT_REFCOUNTED);
/* We should already CoW the refcounted extent in case of create. */
BUG_ON(create && (ext_flags & OCFS2_EXT_REFCOUNTED));

/*
* get_more_blocks() expects us to describe a hole by clearing
* the mapped bit on bh_result().
Expand Down

0 comments on commit 91be827

Please sign in to comment.