summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-01 11:24:40 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-09-17 18:55:27 -0700
commit436ad2221a3e67ae7ad301392f4a4552710a51c3 (patch)
treed8b81da8f5476b7a875b3a15624cc06ddbb2f4e5
parent1724bf5a47f9ecad13ce57f10b36c0760730d666 (diff)
xfs: enable realtime quota againrealtime-quotas_2021-09-17
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 4e38bd83ef34..9040155193aa 100644
--- a/fs/xfs/xfs_qm.c
+++ b/fs/xfs/xfs_qm.c
@@ -1471,15 +1471,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));