mirror of
https://github.com/torvalds/linux.git
synced 2026-05-21 13:27:57 +02:00
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>
This commit is contained in:
parent
af4f88330d
commit
ad35e362bf
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user