diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-09-01 11:24:40 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-10-22 16:41:13 -0700 |
commit | 65f567f4a20252629d2b7b46cb9729c69d11d28e (patch) | |
tree | 2aaee9272604b452230e0120578feb80c22c50a6 /fs/xfs/xfs_qm.c | |
parent | 273283336b5bfd39ec966e1306454a2452489522 (diff) |
xfs: enable realtime quota againrealtime-quotas_2021-10-22
Enable quotas for the realtime device.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_qm.c')
-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 f23a4fcc0317..c9b43d6311d3 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)); |