summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_trans_dquot.c
diff options
context:
space:
mode:
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;