]> Pileus Git - ~andy/linux/blobdiff - fs/xfs/xfs_trans.c
xfs: cleanup up xfs_log_force calling conventions
[~andy/linux] / fs / xfs / xfs_trans.c
index 7dbe3c3051db32183c0ceb70ec42acf43458639b..be942d4e3324335eef40a443a0c9e7132b2bc908 100644 (file)
@@ -981,9 +981,8 @@ shut_us_down:
         */
        if (sync) {
                if (!error) {
-                       error = _xfs_log_force(mp, commit_lsn,
-                                     XFS_LOG_FORCE | XFS_LOG_SYNC,
-                                     log_flushed);
+                       error = _xfs_log_force_lsn(mp, commit_lsn,
+                                     XFS_LOG_SYNC, log_flushed);
                }
                XFS_STATS_INC(xs_trans_sync);
        } else {