patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / fs / xfs / xfs_fsops.c
index 37b28e5..36bb461 100644 (file)
@@ -576,7 +576,8 @@ xfs_fs_log_dummy(xfs_mount_t *mp)
        xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
        xfs_trans_ihold(tp, ip);
        xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
-       xfs_trans_commit(tp, XFS_TRANS_SYNC, NULL);
+       xfs_trans_set_sync(tp);
+       xfs_trans_commit(tp, 0, NULL);
 
        xfs_iunlock(ip, XFS_ILOCK_EXCL);
 }