xfs: repair the inode core and forks of a metadata inode
authorDarrick J. Wong <djwong@kernel.org>
Fri, 15 Dec 2023 18:03:42 +0000 (10:03 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 15 Dec 2023 18:03:42 +0000 (10:03 -0800)
commit5a8e07e799721ba68dd6d713d4a68598eab3bea1
treef079a193a7e5df3755e7b17e44b9704a535a8870
parent20cc0d398e89d1f735c8e2815defc8ba9fdcce3f
xfs: repair the inode core and forks of a metadata inode

Add a helper function to repair the core and forks of a metadata inode,
so that we can get move onto the task of repairing higher level metadata
that lives in an inode.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/bmap_repair.c
fs/xfs/scrub/repair.c
fs/xfs/scrub/repair.h