]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
mkfs: enable rt quota options
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:24:43 +0000 (16:24 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:36 +0000 (18:01 -0800)
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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
mkfs/xfs_mkfs.c

index a15c19df03a86ddb57d83079d04b1db8fbb972e1..956cc295489342a69d916c236a6f18021526b37e 100644 (file)
@@ -2649,12 +2649,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