Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311820
b: refs/heads/master
c: a4e08d0
h: refs/heads/master
v: v3
  • Loading branch information
Luis Henriques authored and Linus Torvalds committed Jul 11, 2012
1 parent 6cb3d64 commit bc21a76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 6b4fa63a9e5696fa43f25143f104ef0bea642222
refs/heads/master: a4e08d001f2e50bb8b3c4eebadcf08e5535f02ee
2 changes: 1 addition & 1 deletion trunk/fs/ocfs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1950,7 +1950,7 @@ static int __ocfs2_change_file_space(struct file *file, struct inode *inode,
if (ret < 0)
mlog_errno(ret);

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

ocfs2_commit_trans(osb, handle);
Expand Down

0 comments on commit bc21a76

Please sign in to comment.