diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-07-16 02:53:43 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-07-29 05:24:14 +0200 |
commit | 1a7ed271653a4f418a6398465f861ee795d34468 (patch) | |
tree | 595141cdbc3cda946dbdbdd0a025356092d21d20 /fs/xfs/xfs_iomap.h | |
parent | xfs: replace a few open-coded XFS_DQTYPE_REC_MASK uses (diff) | |
download | linux-1a7ed271653a4f418a6398465f861ee795d34468.tar.xz linux-1a7ed271653a4f418a6398465f861ee795d34468.zip |
xfs: create xfs_dqtype_t to represent quota types
Create a new type (xfs_dqtype_t) to represent the type of an incore
dquot (user, group, project, or none). Rename the incore dquot's
dq_flags field to q_type.
This allows us to replace all the "uint type" arguments to the quota
functions with "xfs_dqtype_t type", to make it obvious when we're
passing a quota type argument into a function.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_iomap.h')
0 files changed, 0 insertions, 0 deletions