Commit 5349b2af authored by Catherine Hoang's avatar Catherine Hoang Committed by Dave Chinner

xfs: don't set quota warning values

Having just dropped support for quota warning limits and warning
counters, the warning fields no longer have any meaning. Prevent these
fields from being set by removing QC_WARNS_MASK from XFS_QC_SETINFO_MASK
and XFS_QC_MASK.
Signed-off-by: default avatarCatherine Hoang <catherine.hoang@oracle.com>
Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
Signed-off-by: default avatarDave Chinner <david@fromorbit.com>
parent 2e06df55
...@@ -217,8 +217,7 @@ xfs_qm_scall_quotaon( ...@@ -217,8 +217,7 @@ xfs_qm_scall_quotaon(
return 0; return 0;
} }
#define XFS_QC_MASK \ #define XFS_QC_MASK (QC_LIMIT_MASK | QC_TIMER_MASK)
(QC_LIMIT_MASK | QC_TIMER_MASK | QC_WARNS_MASK)
/* /*
* Adjust limits of this quota, and the defaults if passed in. Returns true * Adjust limits of this quota, and the defaults if passed in. Returns true
......
...@@ -98,7 +98,7 @@ xfs_quota_type(int type) ...@@ -98,7 +98,7 @@ xfs_quota_type(int type)
} }
} }
#define XFS_QC_SETINFO_MASK (QC_TIMER_MASK | QC_WARNS_MASK) #define XFS_QC_SETINFO_MASK (QC_TIMER_MASK)
/* /*
* Adjust quota timers & warnings * Adjust quota timers & warnings
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment