diff options
Diffstat (limited to 'fs/xfs/scrub/parent_repair.c')
-rw-r--r-- | fs/xfs/scrub/parent_repair.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/scrub/parent_repair.c b/fs/xfs/scrub/parent_repair.c index 1e4b454b66b9..b215c70bee32 100644 --- a/fs/xfs/scrub/parent_repair.c +++ b/fs/xfs/scrub/parent_repair.c @@ -427,13 +427,13 @@ xrep_parent( /* * Try to find the parent of this directory. If we can't find it, - * we'll just bail out for now. + * we'll move the directory to lost+found. */ error = xrep_dir_parent_find(sc, &parent_ino); if (error) return error; if (parent_ino == NULLFSINO) - return -EFSCORRUPTED; + return xrep_move_to_orphanage(sc); return xrep_dir_parent_replace(sc, parent_ino); } |