]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
mkfs: enable rt quota options
authorDarrick J. Wong <djwong@kernel.org>
Thu, 22 Aug 2024 19:25:06 +0000 (12:25 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 9 Oct 2024 23:29:16 +0000 (16:29 -0700)
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

index 0e1260ec70829c070abd027e65fe287de2ef6413..c5e6c760c6f77286f876effa6fcc89af6f7644af 100644 (file)
@@ -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