Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151225
b: refs/heads/master
c: e04cc15
h: refs/heads/master
i:
  151223: e2fbbe2
v: v3
  • Loading branch information
Hisashi Hifumi authored and Joel Becker committed Jun 9, 2009
1 parent dae9b30 commit ec016ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 06c59bb896ce23c56829f6acf667faebd51dd3b8
refs/heads/master: e04cc15f52eb072937cec2bbd8499f37afe5e1ef
3 changes: 3 additions & 0 deletions trunk/fs/ocfs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ static int ocfs2_sync_file(struct file *file,
if (err)
goto bail;

if (datasync && !(inode->i_state & I_DIRTY_DATASYNC))
goto bail;

journal = osb->journal->j_journal;
err = jbd2_journal_force_commit(journal);

Expand Down

0 comments on commit ec016ee

Please sign in to comment.