Fix a few places where we open-coded this mask constant.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
        if (item->ri_buf[1].i_len < sizeof(struct xfs_disk_dquot))
                return;
 
-       type = recddq->d_flags & (XFS_DQTYPE_USER | XFS_DQTYPE_PROJ | XFS_DQTYPE_GROUP);
+       type = recddq->d_flags & XFS_DQTYPE_REC_MASK;
        ASSERT(type);
        if (log->l_quotaoffs_flag & type)
                return;
        /*
         * This type of quotas was turned off, so ignore this record.
         */
-       type = recddq->d_flags & (XFS_DQTYPE_USER | XFS_DQTYPE_PROJ | XFS_DQTYPE_GROUP);
+       type = recddq->d_flags & XFS_DQTYPE_REC_MASK;
        ASSERT(type);
        if (log->l_quotaoffs_flag & type)
                return 0;