diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-09-01 11:24:40 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-12-15 17:29:27 -0800 |
commit | 64275dc98fc08372fd735d80756947999322f965 (patch) | |
tree | 258d8708382f526fa8910084d9d5dfc1b6e2def6 | |
parent | 5a3fd4b902dec2a22053c850922ee8c5bf4a6517 (diff) |
xfs: enable realtime quota againrealtime-quotas_2021-12-15
Enable quotas for the realtime device.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
-rw-r--r-- | fs/xfs/xfs_qm.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index b20243c7e95c..2b602d62c1e1 100644 --- a/fs/xfs/xfs_qm.c +++ b/fs/xfs/xfs_qm.c @@ -1469,15 +1469,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)); |