]> 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>
Mon, 3 Feb 2025 04:49:14 +0000 (05:49 +0100)
They'll need a little more work.

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

index e1ba5af6250f0bc2aace20a5983897fa38146918..417439b587854a1fd6deebbe5e5fa0314a3e98e9 100644 (file)
@@ -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;