diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_super.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c index 767f38e0e0b..38d380a7ca2 100644 --- a/fs/xfs/linux-2.6/xfs_super.c +++ b/fs/xfs/linux-2.6/xfs_super.c | |||
@@ -998,7 +998,8 @@ xfs_fs_put_super( | |||
998 | int error; | 998 | int error; |
999 | 999 | ||
1000 | xfs_syncd_stop(mp); | 1000 | xfs_syncd_stop(mp); |
1001 | xfs_sync(mp, SYNC_ATTR | SYNC_DELWRI); | 1001 | xfs_log_force(mp, 0, XFS_LOG_FORCE|XFS_LOG_SYNC); |
1002 | xfs_sync_inodes(mp, SYNC_ATTR|SYNC_DELWRI); | ||
1002 | 1003 | ||
1003 | #ifdef HAVE_DMAPI | 1004 | #ifdef HAVE_DMAPI |
1004 | if (mp->m_flags & XFS_MOUNT_DMAPI) { | 1005 | if (mp->m_flags & XFS_MOUNT_DMAPI) { |