xfs: rename XFS_DQ_{USER,GROUP,PROJ} to XFS_DQTYPE_*
We're going to split up the incore dquot state flags from the ondisk dquot flags (eventually renaming this "type") so start by renaming the three flags and the bitmask that are going to participate in this. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -59,9 +59,9 @@ xfs_dquot_verify(
|
||||
if (ddq->d_version != XFS_DQUOT_VERSION)
|
||||
return __this_address;
|
||||
|
||||
if (ddq->d_flags != XFS_DQ_USER &&
|
||||
ddq->d_flags != XFS_DQ_PROJ &&
|
||||
ddq->d_flags != XFS_DQ_GROUP)
|
||||
if (ddq->d_flags != XFS_DQTYPE_USER &&
|
||||
ddq->d_flags != XFS_DQTYPE_PROJ &&
|
||||
ddq->d_flags != XFS_DQTYPE_GROUP)
|
||||
return __this_address;
|
||||
|
||||
if (id != -1 && id != be32_to_cpu(ddq->d_id))
|
||||
|
Reference in New Issue
Block a user