xfs: stop using q_core counters in the quota code
Add counter fields to the incore dquot, and use that instead of the ones in qcore. This eliminates a bunch of endian conversions and will eventually allow us to remove qcore entirely. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Allison Collins <allison.henderson@oracle.com>
This commit is contained in:
@@ -31,6 +31,9 @@ struct xfs_dquot_res {
|
||||
/* Total resources allocated and reserved. */
|
||||
xfs_qcnt_t reserved;
|
||||
|
||||
/* Total resources allocated. */
|
||||
xfs_qcnt_t count;
|
||||
|
||||
/* Absolute and preferred limits. */
|
||||
xfs_qcnt_t hardlimit;
|
||||
xfs_qcnt_t softlimit;
|
||||
|
Reference in New Issue
Block a user