Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195805
b: refs/heads/master
c: 37bc574
h: refs/heads/master
i:
  195803: b78548c
v: v3
  • Loading branch information
Christoph Hellwig authored and Alex Elder committed May 19, 2010
1 parent 9101569 commit 67d12fd
Show file tree
Hide file tree
Showing 3 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: fce1cad651e3cf2779ed8f9e6608daf50d29daaf
refs/heads/master: 37bc5743fdc29f60fb104cd9031babbabddff25a
2 changes: 2 additions & 0 deletions trunk/fs/xfs/linux-2.6/xfs_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ xfs_file_fsync(

xfs_iflags_clear(ip, XFS_ITRUNCATED);

xfs_ioend_wait(ip);

/*
* We always need to make sure that the required inode state is safe on
* disk. The inode might be clean but we still might need to force the
Expand Down
1 change: 1 addition & 0 deletions trunk/fs/xfs/linux-2.6/xfs_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1093,6 +1093,7 @@ xfs_fs_write_inode(
* the code will only flush the inode if it isn't already
* being flushed.
*/
xfs_ioend_wait(ip);
xfs_ilock(ip, XFS_ILOCK_SHARED);
if (ip->i_update_core) {
error = xfs_log_inode(ip);
Expand Down

0 comments on commit 67d12fd

Please sign in to comment.