From: Christoph Hellwig Date: Tue, 22 Oct 2024 12:16:44 +0000 (+0200) Subject: xfs: disable rt quotas for zoned file systems X-Git-Tag: v6.15-rc1~149^2~7^2~5^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad35e362bface74ac10131ae15f0ec46664963ba;p=thirdparty%2Fkernel%2Flinux.git xfs: disable rt quotas for zoned file systems They'll need a little more work. Signed-off-by: Christoph Hellwig Reviewed-by: "Darrick J. Wong" --- diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index e1ba5af6250f0..417439b587854 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;