diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-01-28 15:10:20 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-03-25 17:08:54 -0700 |
commit | 079b0c1371ae3873d27ffc6e56985f7755e8daee (patch) | |
tree | 0b49b4e99b21ffadb960800b5b24ea0a1c1c75c8 | |
parent | eada055b4803d15380e62b0b1296f4a7599c8bde (diff) |
xfs: enable realtime quota againrealtime-quotas_2021-03-25
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 9889788e9ef5..1abb47c3c5d2 100644 --- a/fs/xfs/xfs_qm.c +++ b/fs/xfs/xfs_qm.c @@ -1479,15 +1479,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_RUNNING(mp)); |