xfs: cleanup up xfs_log_force calling conventions
[safe/jmp/linux-2.6] / fs / xfs / xfs_mount.c
index bb01540..7f81ed7 100644 (file)
@@ -1455,7 +1455,7 @@ xfs_unmountfs(
         * push out the iclog we will never get that unlocked. hence we
         * need to force the log first.
         */
-       xfs_log_force(mp, (xfs_lsn_t)0, XFS_LOG_FORCE | XFS_LOG_SYNC);
+       xfs_log_force(mp, XFS_LOG_SYNC);
        xfs_reclaim_inodes(mp, XFS_IFLUSH_ASYNC);
 
        xfs_qm_unmount(mp);
@@ -1465,7 +1465,7 @@ xfs_unmountfs(
         * that nothing is pinned.  This is important because bflush()
         * will skip pinned buffers.
         */
-       xfs_log_force(mp, (xfs_lsn_t)0, XFS_LOG_FORCE | XFS_LOG_SYNC);
+       xfs_log_force(mp, XFS_LOG_SYNC);
 
        xfs_binval(mp->m_ddev_targp);
        if (mp->m_rtdev_targp) {