]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs/291: use _scratch_mkfs_sized instead of opencoding the logic
authorDarrick J. Wong <djwong@kernel.org>
Thu, 20 Feb 2025 21:47:12 +0000 (13:47 -0800)
committerZorro Lang <zlang@kernel.org>
Thu, 6 Mar 2025 13:25:55 +0000 (21:25 +0800)
commit260efb67e86b2f580360829ef53979299cbb8a20
treec96dcefb30bf15a57077d43ec15da287258b5f9f
parentcfe6a6d6ffaa0400bbeef1697740bd21f6859720
xfs/291: use _scratch_mkfs_sized instead of opencoding the logic

Now that _scratch_mkfs_xfs_sized accepts arbitrary mkfs arguments, this
test doesn't need to open-code the helper just to add the dir block and
log size arguments.  Clean this up, which will also help us to avoid
problems with rtrmap if the rt devices is large enough to cause format
failures with the 133M data device size.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/291