From: Darrick J. Wong Date: Wed, 10 Jun 2026 22:12:01 +0000 (-0700) Subject: mkfs: PQUOTA shouldn't conflict with GQNOENFORCE X-Git-Tag: v7.1.0~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c6bf6721ac440c806d5da0d0fc93ec7ccf98da1;p=thirdparty%2Fxfsprogs-dev.git mkfs: PQUOTA shouldn't conflict with GQNOENFORCE Codex points out that project quota isn't incompatible with non-enforcing group quota in the kernel, so those shouldn't be incompatible in mkfs either. Furthermore, project and group quotas are never incompatible on QUOTABIT and V5 filesystems, so this is clearly a fat-finger error. Cc: # v6.13.0 Fixes: 525f826429a868 ("mkfs: add quota flags when setting up filesystem") Signed-off-by: "Darrick J. Wong" Reviewed-by: Christoph Hellwig --- diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c index 3da11c664..a4864c37a 100644 --- a/mkfs/xfs_mkfs.c +++ b/mkfs/xfs_mkfs.c @@ -976,7 +976,7 @@ static struct opt_params mopts = { .defaultval = 1, }, { .index = M_PQUOTA, - .conflicts = { { &mopts, M_GQNOENFORCE }, + .conflicts = { { &mopts, M_PQNOENFORCE }, { NULL, LAST_CONFLICT } }, .minval = 0, .maxval = 1,