summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/dirtree_repair.c
AgeCommit message (Collapse)AuthorFilesLines
2024-04-24xfs: fix corruptions in the directory treeDarrick J. Wong1-0/+821
Repair corruptions in the directory tree itself. Cycles are broken by removing an incoming parent->child link. Multiply-owned directories are fixed by pruning the extra parent -> child links Disconnected subtrees are reconnected to the lost and found. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>