aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_sync.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_sync.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/xfs/linux-2.6/xfs_sync.c b/fs/xfs/linux-2.6/xfs_sync.c
index 79038ea55b03..34413ceaea9f 100644
--- a/fs/xfs/linux-2.6/xfs_sync.c
+++ b/fs/xfs/linux-2.6/xfs_sync.c
@@ -364,7 +364,7 @@ xfs_quiesce_fs(
364 int count = 0, pincount; 364 int count = 0, pincount;
365 365
366 xfs_flush_buftarg(mp->m_ddev_targp, 0); 366 xfs_flush_buftarg(mp->m_ddev_targp, 0);
367 xfs_finish_reclaim_all(mp, 0, XFS_IFLUSH_DELWRI_ELSE_ASYNC); 367 xfs_reclaim_inodes(mp, 0, XFS_IFLUSH_DELWRI_ELSE_ASYNC);
368 368
369 /* 369 /*
370 * This loop must run at least twice. The first instance of the loop 370 * This loop must run at least twice. The first instance of the loop
@@ -505,7 +505,7 @@ xfs_sync_worker(
505 505
506 if (!(mp->m_flags & XFS_MOUNT_RDONLY)) { 506 if (!(mp->m_flags & XFS_MOUNT_RDONLY)) {
507 xfs_log_force(mp, (xfs_lsn_t)0, XFS_LOG_FORCE); 507 xfs_log_force(mp, (xfs_lsn_t)0, XFS_LOG_FORCE);
508 xfs_finish_reclaim_all(mp, 1, XFS_IFLUSH_DELWRI_ELSE_ASYNC); 508 xfs_reclaim_inodes(mp, 0, XFS_IFLUSH_DELWRI_ELSE_ASYNC);
509 /* dgc: errors ignored here */ 509 /* dgc: errors ignored here */
510 error = XFS_QM_DQSYNC(mp, SYNC_BDFLUSH); 510 error = XFS_QM_DQSYNC(mp, SYNC_BDFLUSH);
511 error = xfs_sync_fsdata(mp, SYNC_BDFLUSH); 511 error = xfs_sync_fsdata(mp, SYNC_BDFLUSH);
@@ -584,7 +584,7 @@ xfs_syncd_stop(
584} 584}
585 585
586int 586int
587xfs_finish_reclaim( 587xfs_reclaim_inode(
588 xfs_inode_t *ip, 588 xfs_inode_t *ip,
589 int locked, 589 int locked,
590 int sync_mode) 590 int sync_mode)
@@ -645,7 +645,7 @@ xfs_finish_reclaim(
645} 645}
646 646
647int 647int
648xfs_finish_reclaim_all( 648xfs_reclaim_inodes(
649 xfs_mount_t *mp, 649 xfs_mount_t *mp,
650 int noblock, 650 int noblock,
651 int mode) 651 int mode)
@@ -665,7 +665,7 @@ restart:
665 } 665 }
666 } 666 }
667 XFS_MOUNT_IUNLOCK(mp); 667 XFS_MOUNT_IUNLOCK(mp);
668 if (xfs_finish_reclaim(ip, noblock, mode)) 668 if (xfs_reclaim_inode(ip, noblock, mode))
669 delay(1); 669 delay(1);
670 goto restart; 670 goto restart;
671 } 671 }