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 511fd77d9b86..a527402a79b4 100644 --- a/fs/xfs/scrub/parent_repair.c +++ b/fs/xfs/scrub/parent_repair.c @@ -394,13 +394,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 the orphanage. */ error = xrep_findparent(sc, &parent_ino); if (error) return error; if (parent_ino == NULLFSINO) - return -EFSCORRUPTED; + return xrep_move_to_orphanage(sc); error = xrep_ino_dqattach(sc); if (error) |