OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_6-40-g326d46b

Gerrit Code Review
Thu, 27 Feb 2014 08:03:13 -0800 (PST)

The following commit has been merged in the openafs-stable-1_6_x branch:
commit 326d46bdb846db6564bef9799a844c75adf981f3
Author: Andrew Deason <>
Date:   Thu Oct 3 12:51:41 2013 -0500

    salvager: Handle multiple/inconsistent linktables
    The ListAFSSubDirs code in namei_ops.c currently detects
    incorrectly-named linktable files, and whines about them and says the
    salvager will handle them. However, the salvager doesn't really handle
    them, since we just use the first linktable we find (FindLinkHandle)
    without checking any of the information about it.
    So, check for these. Fix FindLinkHandle to only consider a linktable
    the "real" linktable to use if it actually matches the volume group id
    we're salvaging. Also delete any inconsistent linktables via the new
    function CheckDupLinktable later on.
    Note that inconsistently-named linktables have been known to have been
    created in the past due to a bug in the salvager (fixed by ae227049),
    and possibly due to other unknown issues.
    Reviewed-by: Mark Vitale <>
    Tested-by: BuildBot <>
    Reviewed-by: D Brashear <>
    (cherry picked from commit 602e8eb2000be02ef2a6627633b7ba80ea847762)
    Change-Id: I472e250bbe5dcb4de44111ac705c9a319abf2b44
    Reviewed-by: D Brashear <>
    Reviewed-by: Andrew Deason <>
    Tested-by: BuildBot <>
    Reviewed-by: Stephan Wiesand <>

 src/vol/vol-salvage.c |   62 ++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 59 insertions(+), 3 deletions(-)

OpenAFS Master Repository