]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
various: fix finding metadata inode numbers when metadir is enabled
authorDarrick J. Wong <djwong@kernel.org>
Thu, 20 Feb 2025 21:47:01 +0000 (13:47 -0800)
committerZorro Lang <zlang@kernel.org>
Thu, 6 Mar 2025 13:25:55 +0000 (21:25 +0800)
commit6eaff1c92742a6e63503bfd54e87bdb3443be528
treed2b8c65f6d5d9df4b82585f34cf8bcac847d2a17
parentdbc6211f4804dd19057f5cea4c68553d4a5d2a32
various: fix finding metadata inode numbers when metadir is enabled

There are a number of tests that use xfs_db to examine the contents of
metadata inodes to check correct functioning.  The logic is scattered
everywhere and won't work with metadata directory trees, so make a
shared helper to find these inodes.

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:
common/xfs
tests/xfs/007
tests/xfs/529
tests/xfs/530
tests/xfs/739
tests/xfs/740
tests/xfs/741
tests/xfs/742
tests/xfs/743
tests/xfs/744
tests/xfs/745
tests/xfs/746