summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-07-14 11:16:19 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-10-14 14:17:27 -0700
commit9100a6156a3f748c13d700d7be2fc7d6a507ab24 (patch)
tree368b0e8fa1374a12b77be3c44ca466813869ae41
parent621d16dccbe0f464cd6b260366b8740adca96b82 (diff)
xfs: enable realtime quota againrealtime-quotas_2022-10-14
Enable quotas for the realtime device. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
-rw-r--r--fs/xfs/xfs_qm.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c
index c502d3d1a0fb..2c1f39db0bb7 100644
--- a/fs/xfs/xfs_qm.c
+++ b/fs/xfs/xfs_qm.c
@@ -1485,15 +1485,9 @@ xfs_qm_mount_quotas(
int error = 0;
uint sbf;
- /*
- * If quotas on realtime volumes is not supported, we disable
- * quotas immediately.
- */
- if (mp->m_sb.sb_rextents) {
- xfs_notice(mp, "Cannot turn on quotas for realtime filesystem");
- mp->m_qflags = 0;
- goto write_changes;
- }
+ if (mp->m_sb.sb_rextents)
+ xfs_warn(mp,
+ "EXPERIMENTAL realtime quota feature in use. Use at your own risk!");
ASSERT(XFS_IS_QUOTA_ON(mp));