From d219eb0a40a9db31fd0b7fc1dc06ded41760f5bb Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 6 Dec 2011 21:58:13 +0000 Subject: [PATCH] --- yaml --- r: 280311 b: refs/heads/master c: a7ef9bd79f488c643edfda7dedcbdb0a1b8e7552 h: refs/heads/master i: 280309: 385e598a525bf36529fa3454f4943a869c7184e3 280307: f916a340517690e59164faae95c20455775f1826 280303: c6edf36995a27a0f8703cc62e03ce57dcca759dc v: v3 --- [refs] | 2 +- trunk/fs/xfs/xfs_qm.c | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index b06e7af0c5be..3c1689018396 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 34625c661b01dab193c7e8a0151a63553e97cfdf +refs/heads/master: a7ef9bd79f488c643edfda7dedcbdb0a1b8e7552 diff --git a/trunk/fs/xfs/xfs_qm.c b/trunk/fs/xfs/xfs_qm.c index 9bf32558f5f4..fc60ec21289b 100644 --- a/trunk/fs/xfs/xfs_qm.c +++ b/trunk/fs/xfs/xfs_qm.c @@ -415,8 +415,7 @@ xfs_qm_unmount_quotas( */ STATIC int xfs_qm_dqflush_all( - struct xfs_mount *mp, - int sync_mode) + struct xfs_mount *mp) { struct xfs_quotainfo *q = mp->m_quotainfo; int recl; @@ -451,7 +450,7 @@ xfs_qm_dqflush_all( * across a disk write. */ mutex_unlock(&q->qi_dqlist_lock); - error = xfs_qm_dqflush(dqp, sync_mode); + error = xfs_qm_dqflush(dqp, 0); xfs_dqunlock(dqp); if (error) return error; @@ -1567,7 +1566,7 @@ xfs_qm_quotacheck( * successfully. */ if (!error) - error = xfs_qm_dqflush_all(mp, 0); + error = xfs_qm_dqflush_all(mp); /* * We can get this error if we couldn't do a dquot allocation inside