diff options
author | Christoph Hellwig <hch@lst.de> | 2024-10-22 14:16:44 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2025-03-03 08:17:09 -0700 |
commit | ad35e362bface74ac10131ae15f0ec46664963ba (patch) | |
tree | 2576ac7f3602a8aca6c91216113dc0491e3d243a /fs/xfs/xfs_qm.c | |
parent | af4f88330df39bfffbf7ae28d3429cd21b809fc3 (diff) |
xfs: disable rt quotas for zoned file systems
They'll need a little more work.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_qm.c')
-rw-r--r-- | fs/xfs/xfs_qm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index e1ba5af6250f..417439b58785 100644 --- a/fs/xfs/xfs_qm.c +++ b/fs/xfs/xfs_qm.c @@ -1711,7 +1711,8 @@ xfs_qm_mount_quotas( * immediately. We only support rtquota if rtgroups are enabled to * avoid problems with older kernels. */ - if (mp->m_sb.sb_rextents && !xfs_has_rtgroups(mp)) { + if (mp->m_sb.sb_rextents && + (!xfs_has_rtgroups(mp) || xfs_has_zoned(mp))) { xfs_notice(mp, "Cannot turn on quotas for realtime filesystem"); mp->m_qflags = 0; goto write_changes; |