diff --git a/[refs] b/[refs] index 192c20181b6d..4e95eee71084 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0393afea31874947b1d149b82d17b7dccac4f210 +refs/heads/master: df295d4a4b3c98af1a2445a82aef169e7e5d96b8 diff --git a/trunk/fs/ocfs2/file.c b/trunk/fs/ocfs2/file.c index 5c4a74e04ab4..09e3de57cdee 100644 --- a/trunk/fs/ocfs2/file.c +++ b/trunk/fs/ocfs2/file.c @@ -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: