patch-2.4.27 linux-2.4.27/fs/xfs/xfs_fsops.c

Next file: linux-2.4.27/fs/xfs/xfs_inode.c
Previous file: linux-2.4.27/fs/xfs/xfs_dmapi.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/fs/xfs/xfs_fsops.c linux-2.4.27/fs/xfs/xfs_fsops.c
@@ -576,7 +576,8 @@
 	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);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)