forked from Minki/linux
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: Catherine Hoang <catherine.hoang@oracle.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
parent
2e06df552a
commit
5349b2afc1
@ -217,8 +217,7 @@ xfs_qm_scall_quotaon(
|
||||
return 0;
|
||||
}
|
||||
|
||||
#define XFS_QC_MASK \
|
||||
(QC_LIMIT_MASK | QC_TIMER_MASK | QC_WARNS_MASK)
|
||||
#define XFS_QC_MASK (QC_LIMIT_MASK | QC_TIMER_MASK)
|
||||
|
||||
/*
|
||||
* Adjust limits of this quota, and the defaults if passed in. Returns true
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user