OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_4-38-gfb04de2

Gerrit Code Review gerrit@openafs.org
Tue, 3 Jan 2012 18:42:15 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit fb04de2c928a2f81ab6875b6e4e17cf3b1ffcc17
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Fri Dec 30 20:09:06 2011 -0500

    Windows: renames that overwrite existing target
    
    The Windows client up to this point has never correctly implemented
    directory renames.  For the longest time it assumed that the file
    server would not replace a pre-existing target.  As a result, when
    the target name was already in use the contents of the directory
    would end up with the target name existing but its previous file id
    associated with it.
    
    A second problem was that lookups for the source and target names
    were not performed while the directory (or directories) were exclusively
    held to ensure that competing changes could not occur.
    
    This patchset corrects both issues in cm_Rename() and adjusts the
    redirector interface to match the new behavior.
    
    Reviewed-on: http://gerrit.openafs.org/6457
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    (cherry picked from commit 85f4971f850c0110915ba862922c1536ebe506c2)
    
    Change-Id: Ie9b5a23114f65d161e1b7fa24b65b57077eff6f6
    Reviewed-on: http://gerrit.openafs.org/6487
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 src/WINNT/afsd/cm_vnodeops.c        |  192 ++++++++++++++++++++---------------
 src/WINNT/afsrdr/user/RDRFunction.c |   22 +++-
 2 files changed, 126 insertions(+), 88 deletions(-)

-- 
OpenAFS Master Repository