]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: refactor grabbing realtime metadata inodes
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:24:19 +0000 (16:24 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:27 +0000 (18:01 -0800)
commit0032c19e192fe602ce5383d599e45f9738576f3a
tree4b4bea9222756a8d1d7b7b53040af227b4135692
parent58e7dc339dc2515fdd1700efde3ad2f5d8dcb72c
xfs_repair: refactor grabbing realtime metadata inodes

Create a helper function to grab a realtime metadata inode.  When
metadir arrives, the bitmap and summary inodes can float, so we'll
turn this function into a "load or allocate" function.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
repair/phase6.c