xfs: move orphan files to the orphanage
When we're repairing a directory structure or fixing the dotdot entry of a subdirectory, it's possible that we won't ever find a parent for the subdirectory. When this is the case, move it to the orphanage, aka /lost+found. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Showing
fs/xfs/scrub/orphanage.c
0 → 100644
This diff is collapsed.
fs/xfs/scrub/orphanage.h
0 → 100644
Please register or sign in to comment