OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre1-141-ga9b922a

Gerrit Code Review gerrit@openafs.org
Tue, 8 Feb 2011 06:54:30 -0800 (PST)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit a9b922a282cb25cf8de384ba7f1a751ee5e88f24
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Tue Jan 25 10:46:38 2011 -0600

    vol-salvage: Only delete bad vnodes during !check
    
    In SalvageIndex, if check is true, we're only supposed to check for
    consistency and not actually change anything (this is enforced by an
    assert later on). The check for vnode magic consistency breaks this
    assumption, and just always fixes the vnode.
    
    Change this so we just error out if check is set, and the vnode magic
    is wrong.
    
    Reviewed-on: http://gerrit.openafs.org/3756
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit 5817a13b84496c087b350be50c17a8b0f9aac9d5)
    
    Change-Id: I1b12c56d680111ba71b611ab9bbb6159a35dd14e
    Reviewed-on: http://gerrit.openafs.org/3866
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/vol/vol-salvage.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository