diff options
Diffstat (limited to 'fs/xfs/quota/xfs_qm.c')
-rw-r--r-- | fs/xfs/quota/xfs_qm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/quota/xfs_qm.c b/fs/xfs/quota/xfs_qm.c index 35582fe9d648..1f3da5b8657b 100644 --- a/fs/xfs/quota/xfs_qm.c +++ b/fs/xfs/quota/xfs_qm.c | |||
@@ -1648,14 +1648,14 @@ xfs_qm_quotacheck_dqadjust( | |||
1648 | * Adjust the inode count and the block count to reflect this inode's | 1648 | * Adjust the inode count and the block count to reflect this inode's |
1649 | * resource usage. | 1649 | * resource usage. |
1650 | */ | 1650 | */ |
1651 | be64_add(&dqp->q_core.d_icount, 1); | 1651 | be64_add_cpu(&dqp->q_core.d_icount, 1); |
1652 | dqp->q_res_icount++; | 1652 | dqp->q_res_icount++; |
1653 | if (nblks) { | 1653 | if (nblks) { |
1654 | be64_add(&dqp->q_core.d_bcount, nblks); | 1654 | be64_add_cpu(&dqp->q_core.d_bcount, nblks); |
1655 | dqp->q_res_bcount += nblks; | 1655 | dqp->q_res_bcount += nblks; |
1656 | } | 1656 | } |
1657 | if (rtblks) { | 1657 | if (rtblks) { |
1658 | be64_add(&dqp->q_core.d_rtbcount, rtblks); | 1658 | be64_add_cpu(&dqp->q_core.d_rtbcount, rtblks); |
1659 | dqp->q_res_rtbcount += rtblks; | 1659 | dqp->q_res_rtbcount += rtblks; |
1660 | } | 1660 | } |
1661 | 1661 | ||