aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_mount.c')
-rw-r--r--fs/xfs/xfs_mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c
index bb0154047e8..7f81ed72c87 100644
--- a/fs/xfs/xfs_mount.c
+++ b/fs/xfs/xfs_mount.c
@@ -1455,7 +1455,7 @@ xfs_unmountfs(
1455 * push out the iclog we will never get that unlocked. hence we 1455 * push out the iclog we will never get that unlocked. hence we
1456 * need to force the log first. 1456 * need to force the log first.
1457 */ 1457 */
1458 xfs_log_force(mp, (xfs_lsn_t)0, XFS_LOG_FORCE | XFS_LOG_SYNC); 1458 xfs_log_force(mp, XFS_LOG_SYNC);
1459 xfs_reclaim_inodes(mp, XFS_IFLUSH_ASYNC); 1459 xfs_reclaim_inodes(mp, XFS_IFLUSH_ASYNC);
1460 1460
1461 xfs_qm_unmount(mp); 1461 xfs_qm_unmount(mp);
@@ -1465,7 +1465,7 @@ xfs_unmountfs(
1465 * that nothing is pinned. This is important because bflush() 1465 * that nothing is pinned. This is important because bflush()
1466 * will skip pinned buffers. 1466 * will skip pinned buffers.
1467 */ 1467 */
1468 xfs_log_force(mp, (xfs_lsn_t)0, XFS_LOG_FORCE | XFS_LOG_SYNC); 1468 xfs_log_force(mp, XFS_LOG_SYNC);
1469 1469
1470 xfs_binval(mp->m_ddev_targp); 1470 xfs_binval(mp->m_ddev_targp);
1471 if (mp->m_rtdev_targp) { 1471 if (mp->m_rtdev_targp) {