[PATCH 2/2] mkfs: enable rt quota options

Darrick J. Wong
2024-12-07T00:20:22Z

From: Darrick J. Wong <djwong@kernel.org>

Now that the kernel supports quota and realtime devices, allow people to
format filesystems with permanent quota options.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
mkfs/xfs_mkfs.c | 6 ------
1 file changed, 6 deletions(-)

diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c
index b644022a5091ba..b141e2c09c7bfb 100644
--- a/mkfs/xfs_mkfs.c
+++ b/mkfs/xfs_mkfs.c
@@ -2650,12 +2650,6 @@ _("cowextsize not supported without reflink support\n"));
cli->sb_feat.exchrange = true;
}

- if (cli->sb_feat.qflags && cli->xi->rt.name) {
- fprintf(stderr,
-_("persistent quota flags not supported with realtime volumes\n"));
- usage();
- }
-
/*
* Persistent quota flags requires metadir support because older
* kernels (or current kernels with old filesystems) will reset qflags