OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3088-gba718cb

Gerrit Code Review gerrit@openafs.org
Fri, 2 Nov 2012 06:52:45 -0700 (PDT)


The following commit has been merged in the master branch:
commit ba718cba9285fc9f663b0fd15524bc5474cca893
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Wed Oct 31 20:59:30 2012 -0400

    Windows: Use MountRoot for Absolute Symlinks
    
    Replace the absolute symlink processing in AFSLocateName().
    Implement AFSIsAbsoluteAFSName() to test whether or not the
    path is in fact an absolute /afs path by comparing the input
    string to the registry MountRoot value which specifies the
    case sensitive root path for all absolute symlinks stored
    in the AFS cell.
    
    If a symlink target path begins with a directory separator
    and is not an absolute afs path name, return an error.
    
    Construct the substitution string using the target path
    without the MountRoot prefix.
    
    Add functionality to AFSRedir.sys to read the MountRoot
    from the registry and pass it on to AFSRedirLib.sys.
    
    Change-Id: Ie1df24da1e6de257c73dc34c80a75288bad47d29
    Reviewed-on: http://gerrit.openafs.org/8353
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    Tested-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsrdr/common/AFSRedirCommonStructs.h  |    2 +
 src/WINNT/afsrdr/kernel/fs/AFSData.cpp           |    2 +
 src/WINNT/afsrdr/kernel/fs/AFSGeneric.cpp        |  103 +++++++++++++++++++++-
 src/WINNT/afsrdr/kernel/fs/AFSInit.cpp           |    2 +
 src/WINNT/afsrdr/kernel/fs/AFSLibrarySupport.cpp |    2 +
 src/WINNT/afsrdr/kernel/fs/Include/AFSCommon.h   |    3 +
 src/WINNT/afsrdr/kernel/fs/Include/AFSDefines.h  |    3 +-
 src/WINNT/afsrdr/kernel/fs/Include/AFSExtern.h   |    2 +
 src/WINNT/afsrdr/kernel/lib/AFSData.cpp          |    2 +
 src/WINNT/afsrdr/kernel/lib/AFSGeneric.cpp       |   52 +++++++++++-
 src/WINNT/afsrdr/kernel/lib/AFSNameSupport.cpp   |   55 +++++-------
 src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h  |    3 +
 src/WINNT/afsrdr/kernel/lib/Include/AFSExtern.h  |    2 +
 13 files changed, 198 insertions(+), 35 deletions(-)

-- 
OpenAFS Master Repository