diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-07-16 02:51:47 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-07-29 05:24:14 +0200 |
commit | 0b04dd5d7ca79ccb88e258641b328fe4f548272a (patch) | |
tree | 417f8c6697789200d8b766e21bd5a2c1f4090630 /fs/xfs/xfs_qm.h | |
parent | xfs: refactor quota type testing (diff) | |
download | linux-0b04dd5d7ca79ccb88e258641b328fe4f548272a.tar.xz linux-0b04dd5d7ca79ccb88e258641b328fe4f548272a.zip |
xfs: always use xfs_dquot_type when extracting type from a dquot
Always use the xfs_dquot_type helper to extract the quota type from an
incore dquot. This moves responsibility for filtering internal state
information and whatnot to anybody passing around a struct xfs_dquot.
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_qm.h')
0 files changed, 0 insertions, 0 deletions