summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trans_dquot.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-07-16 02:42:36 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2020-07-29 05:24:14 +0200
commit8cd4901da56caadc16b4e8d6b434291a8ce31d7c (patch)
treea192db893880a86d4bea26a6aae3ed58675412a3 /fs/xfs/xfs_trans_dquot.c
parentxfs: drop the type parameter from xfs_dquot_verify (diff)
downloadlinux-8cd4901da56caadc16b4e8d6b434291a8ce31d7c.tar.xz
linux-8cd4901da56caadc16b4e8d6b434291a8ce31d7c.zip
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>
Diffstat (limited to 'fs/xfs/xfs_trans_dquot.c')
-rw-r--r--fs/xfs/xfs_trans_dquot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_trans_dquot.c b/fs/xfs/xfs_trans_dquot.c
index a8f480e5401f..ea61e279f831 100644
--- a/fs/xfs/xfs_trans_dquot.c
+++ b/fs/xfs/xfs_trans_dquot.c
@@ -553,9 +553,9 @@ xfs_quota_warn(
{
enum quota_type qtype;
- if (dqp->dq_flags & XFS_DQ_PROJ)
+ if (dqp->dq_flags & XFS_DQTYPE_PROJ)
qtype = PRJQUOTA;
- else if (dqp->dq_flags & XFS_DQ_USER)
+ else if (dqp->dq_flags & XFS_DQTYPE_USER)
qtype = USRQUOTA;
else
qtype = GRPQUOTA;