Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95021
b: refs/heads/master
c: 53c550e
h: refs/heads/master
i:
  95019: 2b58ce8
v: v3
  • Loading branch information
Hisashi Hifumi authored and Theodore Ts'o committed Apr 17, 2008
1 parent a2c70c0 commit 53b6f0b
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: 97bd42b9c8be748ad85b362ba3bd401f4d35be80
refs/heads/master: 53c550e9750434ddc4275fe0405170e0d1b46731
3 changes: 3 additions & 0 deletions trunk/fs/ext4/fsync.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ int ext4_sync_file(struct file * file, struct dentry *dentry, int datasync)
goto out;
}

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

/*
* The VFS has written the file data. If the inode is unaltered
* then we need not start a commit.
Expand Down

0 comments on commit 53b6f0b

Please sign in to comment.