OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_6-39-g1437175

Gerrit Code Review
Thu, 27 Feb 2014 08:02:44 -0800 (PST)

The following commit has been merged in the openafs-stable-1_6_x branch:
commit 1437175df5c8c799d11c92eaeaf3470534cbcb9b
Author: Andrew Deason <>
Date:   Fri Aug 30 14:21:16 2013 -0500

    namei: Ignore misplaced files
    The namei salvaging/ListViceInodes code currently ignores files where
    we cannot derive an inode number from a given filename. However, if a
    file is a valid inode filename, but is in the wrong directory, we
    still record it. This can cause the salvager to abort, since it
    assumes inode e.g. 12345 is present, but when it tries to open 12345,
    namei translates the inode to a nonexistant path, and we bail out.
    It is unknown how a namei directory structure can reach this state,
    but try to handle it. To be on the safe side, just ignore the files,
    and log a message about them. That way, if the files are required for
    reconstructing the volume or contain important data, they are still
    available if needed. And if they contain incorrect or old data, we
    don't screw up the volume by trying to use them.
    Thanks to Sabah S. Salih for reporting a related issue.
    Reviewed-by: D Brashear <>
    Tested-by: BuildBot <>
    (cherry picked from commit 1096582bde6156bb469f2e397cbc40d13a8f2822)
    Change-Id: I9252877fbfe01328ac4a8692ebe28a86913b9713
    Reviewed-by: D Brashear <>
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Stephan Wiesand <>
    Tested-by: BuildBot <>

 src/vol/namei_ops.c |   47 +++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 41 insertions(+), 6 deletions(-)

OpenAFS Master Repository