]> www.infradead.org Git - users/hch/xfs.git/commitdiff
xfs: disable rt quotas for zoned file systems
authorChristoph Hellwig <hch@lst.de>
Tue, 22 Oct 2024 12:16:44 +0000 (14:16 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 5 Nov 2024 08:29:55 +0000 (09:29 +0100)
They'll need a little more work.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_qm.c

index b928b036990bc34e5c61c6d333b6e957a7797b02..188800eaa0f79d4c4ba5a2246f90db1a3e80f849 100644 (file)
@@ -1667,7 +1667,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;