Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276191
b: refs/heads/master
c: df295d4
h: refs/heads/master
i:
  276189: 9864293
  276187: 7ef6e35
  276183: 264f313
  276175: 367dacc
  276159: c9355d9
v: v3
  • Loading branch information
Mark Fasheh authored and Joel Becker committed Nov 17, 2011
1 parent 66106b6 commit c8c78a6
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: 0393afea31874947b1d149b82d17b7dccac4f210
refs/heads/master: df295d4a4b3c98af1a2445a82aef169e7e5d96b8
3 changes: 3 additions & 0 deletions trunk/fs/ocfs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1950,6 +1950,9 @@ static int __ocfs2_change_file_space(struct file *file, struct inode *inode,
if (ret < 0)
mlog_errno(ret);

if (file->f_flags & O_SYNC)
handle->h_sync = 1;

ocfs2_commit_trans(osb, handle);

out_inode_unlock:
Expand Down

0 comments on commit c8c78a6

Please sign in to comment.