aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/quota/xfs_dquot.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/quota/xfs_dquot.c')
-rw-r--r--fs/xfs/quota/xfs_dquot.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/fs/xfs/quota/xfs_dquot.c b/fs/xfs/quota/xfs_dquot.c
index 5756392ffdee..f9baeedbfdfe 100644
--- a/fs/xfs/quota/xfs_dquot.c
+++ b/fs/xfs/quota/xfs_dquot.c
@@ -1248,7 +1248,7 @@ xfs_qm_dqflush(
1248 */ 1248 */
1249 if (XFS_BUF_ISPINNED(bp)) { 1249 if (XFS_BUF_ISPINNED(bp)) {
1250 trace_xfs_dqflush_force(dqp); 1250 trace_xfs_dqflush_force(dqp);
1251 xfs_log_force(mp, (xfs_lsn_t)0, XFS_LOG_FORCE); 1251 xfs_log_force(mp, 0);
1252 } 1252 }
1253 1253
1254 if (flags & XFS_QMOPT_DELWRI) { 1254 if (flags & XFS_QMOPT_DELWRI) {
@@ -1531,11 +1531,9 @@ xfs_qm_dqflock_pushbuf_wait(
1531 if (bp != NULL) { 1531 if (bp != NULL) {
1532 if (XFS_BUF_ISDELAYWRITE(bp)) { 1532 if (XFS_BUF_ISDELAYWRITE(bp)) {
1533 int error; 1533 int error;
1534 if (XFS_BUF_ISPINNED(bp)) { 1534
1535 xfs_log_force(dqp->q_mount, 1535 if (XFS_BUF_ISPINNED(bp))
1536 (xfs_lsn_t)0, 1536 xfs_log_force(dqp->q_mount, 0);
1537 XFS_LOG_FORCE);
1538 }
1539 error = xfs_bawrite(dqp->q_mount, bp); 1537 error = xfs_bawrite(dqp->q_mount, bp);
1540 if (error) 1538 if (error)
1541 xfs_fs_cmn_err(CE_WARN, dqp->q_mount, 1539 xfs_fs_cmn_err(CE_WARN, dqp->q_mount,