summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_quotaops.c
diff options
context:
space:
mode:
authorCatherine Hoang <catherine.hoang@oracle.com>2022-05-10 22:28:00 +0200
committerDave Chinner <david@fromorbit.com>2022-05-11 09:12:09 +0200
commit5349b2afc117d87d35502f2fe1930692d6bfc68b (patch)
tree5b7d42cba9bdd840a033f59a90f17a780cf7fe21 /fs/xfs/xfs_quotaops.c
parentxfs: remove warning counters from struct xfs_dquot_res (diff)
downloadlinux-5349b2afc117d87d35502f2fe1930692d6bfc68b.tar.xz
linux-5349b2afc117d87d35502f2fe1930692d6bfc68b.zip
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>
Diffstat (limited to 'fs/xfs/xfs_quotaops.c')
-rw-r--r--fs/xfs/xfs_quotaops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_quotaops.c b/fs/xfs/xfs_quotaops.c
index 50391730241f..9c162e69976b 100644
--- a/fs/xfs/xfs_quotaops.c
+++ b/fs/xfs/xfs_quotaops.c
@@ -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