Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190547
b: refs/heads/master
c: a03ab78
h: refs/heads/master
i:
  190545: ab8684e
  190543: 54b1688
v: v3
  • Loading branch information
Coly Li authored and Joel Becker committed Mar 30, 2010
1 parent 93869e3 commit 4729667
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: efd647f744f3cf504ed83580274bd4b6918139fe
refs/heads/master: a03ab788d070c256eff1ac24cf0e3bc2ca148096
6 changes: 3 additions & 3 deletions trunk/fs/ocfs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -2021,9 +2021,9 @@ static ssize_t ocfs2_file_aio_write(struct kiocb *iocb,
if (ret < 0)
written = ret;

if (!ret && (old_size != i_size_read(inode) ||
old_clusters != OCFS2_I(inode)->ip_clusters ||
has_refcount)) {
if (!ret && ((old_size != i_size_read(inode)) ||
(old_clusters != OCFS2_I(inode)->ip_clusters) ||
has_refcount)) {
ret = jbd2_journal_force_commit(osb->journal->j_journal);
if (ret < 0)
written = ret;
Expand Down

0 comments on commit 4729667

Please sign in to comment.