OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_17-59-g045d6a8
Gerrit Code Review
gerrit@openafs.org
Fri, 2 Nov 2012 08:45:58 -0700 (PDT)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit 045d6a8230cc2d82030c035f285e77d2c16655b2
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.
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>
(cherry picked from commit ba718cba9285fc9f663b0fd15524bc5474cca893)
Change-Id: I374885151f7186c509927a16fde0fcb493340881
Reviewed-on: http://gerrit.openafs.org/8359
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-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