OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre1-135-gf9105fc

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


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 9110aac6930a84bc9c61c988743e3b1a447d54df
Author: Rod Widdowson <rdw@steadingsoftware.com>
Date:   Sun Jan 23 12:04:59 2011 +0000

    Windows: remove faulty assumptions about device names in vol-salvage
    
    The implementation has an assumption that all disk volumes have an
    object name of \Device\HarddiskXXX (where XXX is a number).  This is
    wrong since the name is purely a convention and since about WXP they
    have been called \Device\HarddiskVolumeXXX.
    
    Either way it is spurious to assume the format and then try to compare
    the XXX.  This change just compares the strings.  This is done in a
    case insenstive manner which is the safer option.  It is quite
    feasible, but very unlikely that someone will uses 'case sensitively
    different' object names.
    
    Reviewed-on: http://gerrit.openafs.org/3745
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    (cherry picked from commit ffb0cdcc91d86f6e7b62561aebe6dcb722c3d768)
    
    Change-Id: I3f69c2a8f76d073afcfe626eec45be9942bf4042
    Reviewed-on: http://gerrit.openafs.org/3859
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/vol/vol-salvage.c |   24 ++++++++++--------------
 1 files changed, 10 insertions(+), 14 deletions(-)

-- 
OpenAFS Master Repository