OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3610-g75ee4fb

Gerrit Code Review gerrit@openafs.org
Mon, 11 Mar 2013 17:39:49 -0700 (PDT)


The following commit has been merged in the master branch:
commit 75ee4fb1afce75316fd05b013b36a24f218118dc
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Wed Mar 6 09:53:41 2013 -0500

    Windows: Service processing for Symlink creation
    
    Initial support for symlink creation via the Win32 CreateSymbolicLink api.
    Add support for AFS_REQUEST_TYPE_CREATE_SYMLINK redirector requests via
    the new RDR_CreateSymlinkEntry() function.
    
    Since CreateSymbolicLink api creates a new directory or file object and
    then assigns the Microsoft reparse tag data to that object,
    RDR_CreateSymlinkEntry must first delete the empty directory or file and
    then create the new symlink object in its place.  If the empty object can
    be removed but the symlink cannot be created, STATUS_FILE_DELETED is
    returned to indicate to the redirector that a failure occurred that
    changed the state of the directory without creating a new object.
    
    If the empty object cannot be removed, a STATUS_ACCESS_DENIED error will
    be returned and the empty object will unfortunately remain in the AFS
    directory.
    
    Target path translation is performed.  Absolute AFS paths are stored in
    UNIX notation.  Absolute non-AFS UNC and device paths are prefaced with
    "msdfs:".
    
    Change-Id: If8b4729dd5fffddc71221750852b8be731c83cab
    Reviewed-on: http://gerrit.openafs.org/9425
    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/user/RDRFunction.c   |  281 ++++++++++++++++++++++++++++++++-
 src/WINNT/afsrdr/user/RDRInit.cpp     |   32 ++++
 src/WINNT/afsrdr/user/RDRPrototypes.h |   12 ++-
 3 files changed, 323 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository