aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r--fs/xfs/xfs_vfsops.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c
index 09e186d02c11..fc48158fe479 100644
--- a/fs/xfs/xfs_vfsops.c
+++ b/fs/xfs/xfs_vfsops.c
@@ -1317,21 +1317,8 @@ xfs_syncsub(
1317 } 1317 }
1318 1318
1319 /* 1319 /*
1320 * If asked, update the disk superblock with incore counter values if we
1321 * are using non-persistent counters so that they don't get too far out
1322 * of sync if we crash or get a forced shutdown. We don't want to force
1323 * this to disk, just get a transaction into the iclogs....
1324 */
1325 if (flags & SYNC_SUPER) {
1326 error = xfs_log_sbcount(mp, 0);
1327 if (error)
1328 last_error = error;
1329 }
1330
1331 /*
1332 * Now check to see if the log needs a "dummy" transaction. 1320 * Now check to see if the log needs a "dummy" transaction.
1333 */ 1321 */
1334
1335 if (!(flags & SYNC_REMOUNT) && xfs_log_need_covered(mp)) { 1322 if (!(flags & SYNC_REMOUNT) && xfs_log_need_covered(mp)) {
1336 xfs_trans_t *tp; 1323 xfs_trans_t *tp;
1337 xfs_inode_t *ip; 1324 xfs_inode_t *ip;