Skip to content

Commit ad35e36

Browse files
author
Christoph Hellwig
committed
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>
1 parent af4f883 commit ad35e36

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

fs/xfs/xfs_qm.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1711,7 +1711,8 @@ xfs_qm_mount_quotas(
17111711
* immediately. We only support rtquota if rtgroups are enabled to
17121712
* avoid problems with older kernels.
17131713
*/
1714-
if (mp->m_sb.sb_rextents && !xfs_has_rtgroups(mp)) {
1714+
if (mp->m_sb.sb_rextents &&
1715+
(!xfs_has_rtgroups(mp) || xfs_has_zoned(mp))) {
17151716
xfs_notice(mp, "Cannot turn on quotas for realtime filesystem");
17161717
mp->m_qflags = 0;
17171718
goto write_changes;

0 commit comments

Comments
 (0)