]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: fix quota detection in fuzz tests
authorDarrick J. Wong <djwong@kernel.org>
Thu, 20 Feb 2025 21:47:09 +0000 (13:47 -0800)
committerZorro Lang <zlang@kernel.org>
Thu, 6 Mar 2025 13:25:55 +0000 (21:25 +0800)
commit20ffc06a7c8a543929bfced87cd9b03e234a21b6
tree393f683dad08e123230ca831ee9fa315f7e6aa45
parent1c272e5bd65b6e18420a091a5f61717113400b8f
xfs: fix quota detection in fuzz tests

With metadir, quota options persist until they are changed by mount
options.  Therefore, we can set the quota flags in MKFS_OPTIONS and
needn't supply them in MOUNT_OPTIONS.  Unfortunately, this means that we
cannot grep the MOUNT_OPTIONS anymore; we must mount the fs and run
src/feature to determine if quotas are enabled.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
12 files changed:
tests/xfs/425
tests/xfs/426
tests/xfs/427
tests/xfs/428
tests/xfs/429
tests/xfs/430
tests/xfs/487
tests/xfs/488
tests/xfs/489
tests/xfs/779
tests/xfs/780
tests/xfs/781