]> 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, 21 Nov 2024 00:27:21 +0000 (16:27 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 23 Jan 2025 21:19:54 +0000 (13:19 -0800)
commit0b71052d21e93a2f3e0483aebcd516b3a665a525
tree4dfec1a093e3edf217ba0889a903943713f31159
parent78cf87eb5bd0c692e62dfb0337397a493e72e0e5
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>
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