Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255126
b: refs/heads/master
c: 33b8f7c
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig committed Jul 8, 2011
1 parent 855143c commit 025c0be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 8f04c47aa9712874af2c8816c2ca2a332cba80e4
refs/heads/master: 33b8f7c2479dfcbc5c27174e44b5f659d9f33c70
8 changes: 3 additions & 5 deletions trunk/fs/xfs/linux-2.6/xfs_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,14 +359,12 @@ xfs_quiesce_data(
{
int error, error2 = 0;

/* push non-blocking */
xfs_sync_data(mp, 0);
xfs_qm_sync(mp, SYNC_TRYLOCK);

/* push and block till complete */
xfs_sync_data(mp, SYNC_WAIT);
xfs_qm_sync(mp, SYNC_WAIT);

/* force out the newly dirtied log buffers */
xfs_log_force(mp, XFS_LOG_SYNC);

/* write superblock and hoover up shutdown errors */
error = xfs_sync_fsdata(mp);

Expand Down

0 comments on commit 025c0be

Please sign in to comment.