diff options
Diffstat (limited to 'fs/xfs/quota/xfs_trans_dquot.c')
-rw-r--r-- | fs/xfs/quota/xfs_trans_dquot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/quota/xfs_trans_dquot.c b/fs/xfs/quota/xfs_trans_dquot.c index 7de6874bf1b8..f441f836ca8b 100644 --- a/fs/xfs/quota/xfs_trans_dquot.c +++ b/fs/xfs/quota/xfs_trans_dquot.c | |||
@@ -421,13 +421,13 @@ xfs_trans_apply_dquot_deltas( | |||
421 | (xfs_qcnt_t) -qtrx->qt_icount_delta); | 421 | (xfs_qcnt_t) -qtrx->qt_icount_delta); |
422 | #endif | 422 | #endif |
423 | if (totalbdelta) | 423 | if (totalbdelta) |
424 | be64_add(&d->d_bcount, (xfs_qcnt_t)totalbdelta); | 424 | be64_add_cpu(&d->d_bcount, (xfs_qcnt_t)totalbdelta); |
425 | 425 | ||
426 | if (qtrx->qt_icount_delta) | 426 | if (qtrx->qt_icount_delta) |
427 | be64_add(&d->d_icount, (xfs_qcnt_t)qtrx->qt_icount_delta); | 427 | be64_add_cpu(&d->d_icount, (xfs_qcnt_t)qtrx->qt_icount_delta); |
428 | 428 | ||
429 | if (totalrtbdelta) | 429 | if (totalrtbdelta) |
430 | be64_add(&d->d_rtbcount, (xfs_qcnt_t)totalrtbdelta); | 430 | be64_add_cpu(&d->d_rtbcount, (xfs_qcnt_t)totalrtbdelta); |
431 | 431 | ||
432 | /* | 432 | /* |
433 | * Get any default limits in use. | 433 | * Get any default limits in use. |