+1
−0
+121
−9
fs/xfs/scrub/orphanage.c
0 → 100644
+498
−0
fs/xfs/scrub/orphanage.h
0 → 100644
+75
−0
Loading
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>