OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_21-89-g095a82b

Gerrit Code Review gerrit@openafs.org
Mon, 11 Feb 2013 22:21:03 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 095a82b2051897351cbbdb96f77923167997378e
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Fri Feb 8 23:46:44 2013 -0500

    Windows: AFSLocateNameEntry tracking DirectoryCB IN/OUT
    
    AFSLocateNameEntry previously accepted ParentDirectoryCB as an IN/OUT
    parameter in which a reference count was passed in but a reference
    count was not passed back out.  The DirectoryCB parameter is an OUT
    parameter for which a reference count should be returned on success.
    
    This patchset simplifies the logic.  ParentDirectoryCB is IN only
    and OutParentDirectoryCB and DirectoryCB are out only.  AFSLocateNameEntry
    never releases a reference count provided by the caller and it always
    returns OutParentDirectoryCB and DirectoryCB with a new reference count
    unless they are NULL.  It is the callers responsibility to determine if
    ParentDirectoryCB has changed and to release all of the references.
    
    Reviewed-on: http://gerrit.openafs.org/9087
    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 a1b6015cec049367c4832d7299bcdba19ea3b3fe)
    
    Change-Id: I0d6e3a49ff127b20fe0a020703bc1a1d9f007e45
    Reviewed-on: http://gerrit.openafs.org/9097
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp      |   56 +++--
 src/WINNT/afsrdr/kernel/lib/AFSGeneric.cpp     |  292 +++++++++++++-----------
 src/WINNT/afsrdr/kernel/lib/AFSNameSupport.cpp |  249 +++++++++++++++------
 3 files changed, 370 insertions(+), 227 deletions(-)

-- 
OpenAFS Master Repository