xfs: convert beX_add to beX_add_cpu (new common API)
remove beX_add functions and replace all uses with beX_add_cpu Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Mark Fasheh <mark.fasheh@oracle.com> Reviewed-by: Dave Chinner <dgc@sgi.com> Cc: Timothy Shimmin <tes@sgi.com> Cc: <linux-ext4@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
91d35dd93e
commit
413d57c990
@ -1648,14 +1648,14 @@ xfs_qm_quotacheck_dqadjust(
|
||||
* Adjust the inode count and the block count to reflect this inode's
|
||||
* resource usage.
|
||||
*/
|
||||
be64_add(&dqp->q_core.d_icount, 1);
|
||||
be64_add_cpu(&dqp->q_core.d_icount, 1);
|
||||
dqp->q_res_icount++;
|
||||
if (nblks) {
|
||||
be64_add(&dqp->q_core.d_bcount, nblks);
|
||||
be64_add_cpu(&dqp->q_core.d_bcount, nblks);
|
||||
dqp->q_res_bcount += nblks;
|
||||
}
|
||||
if (rtblks) {
|
||||
be64_add(&dqp->q_core.d_rtbcount, rtblks);
|
||||
be64_add_cpu(&dqp->q_core.d_rtbcount, rtblks);
|
||||
dqp->q_res_rtbcount += rtblks;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user