aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-12-06 16:58:13 -0500
committerBen Myers <bpm@sgi.com>2011-12-12 17:46:20 -0500
commita7ef9bd79f488c643edfda7dedcbdb0a1b8e7552 (patch)
treedf4b36b0ca2b663f3e19b268168742c5a808f9fa /fs/xfs
parent34625c661b01dab193c7e8a0151a63553e97cfdf (diff)
xfs: remove the sync_mode argument to xfs_qm_dqflush_all
It always is zero, and removing it will make future changes easier. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_qm.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c
index 9bf32558f5f4..fc60ec21289b 100644
--- a/fs/xfs/xfs_qm.c
+++ b/fs/xfs/xfs_qm.c
@@ -415,8 +415,7 @@ xfs_qm_unmount_quotas(
415 */ 415 */
416STATIC int 416STATIC int
417xfs_qm_dqflush_all( 417xfs_qm_dqflush_all(
418 struct xfs_mount *mp, 418 struct xfs_mount *mp)
419 int sync_mode)
420{ 419{
421 struct xfs_quotainfo *q = mp->m_quotainfo; 420 struct xfs_quotainfo *q = mp->m_quotainfo;
422 int recl; 421 int recl;
@@ -451,7 +450,7 @@ again:
451 * across a disk write. 450 * across a disk write.
452 */ 451 */
453 mutex_unlock(&q->qi_dqlist_lock); 452 mutex_unlock(&q->qi_dqlist_lock);
454 error = xfs_qm_dqflush(dqp, sync_mode); 453 error = xfs_qm_dqflush(dqp, 0);
455 xfs_dqunlock(dqp); 454 xfs_dqunlock(dqp);
456 if (error) 455 if (error)
457 return error; 456 return error;
@@ -1567,7 +1566,7 @@ xfs_qm_quotacheck(
1567 * successfully. 1566 * successfully.
1568 */ 1567 */
1569 if (!error) 1568 if (!error)
1570 error = xfs_qm_dqflush_all(mp, 0); 1569 error = xfs_qm_dqflush_all(mp);
1571 1570
1572 /* 1571 /*
1573 * We can get this error if we couldn't do a dquot allocation inside 1572 * We can get this error if we couldn't do a dquot allocation inside