OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_72-157-g32ebc44
Gerrit Code Review
gerrit@openafs.org
Sun, 21 Mar 2010 10:10:59 -0700 (PDT)
The following commit has been merged in the master branch:
commit 32ebc44f42aad7dd77d42d07bfd891e8be6f1fff
Author: Andrew Deason <adeason@sinenomine.net>
Date: Wed Feb 3 13:02:23 2010 -0600
Create missing root directory when ORPH_ATTACH
When we are salvaging with ORPH_ATTACH, orphans are normally attached to
a volume's root directory. If the volume is missing a root directory,
however, nothing is attached, and the volume can appear empty or
unusable.
So, to make it possible to get a useful volume out of a volume that lost
(only) its root directory, create a new root dir, and attach orphans to
that root.
FIXES 94658
Change-Id: I946a60485b5793952707f44ac369ee243e8dc076
Reviewed-on: http://gerrit.openafs.org/1235
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vol/vol-salvage.c | 404 ++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 402 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository