OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3373-ga1b6015
Gerrit Code Review
gerrit@openafs.org
Mon, 11 Feb 2013 20:16:41 -0800 (PST)
The following commit has been merged in the master branch:
commit a1b6015cec049367c4832d7299bcdba19ea3b3fe
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.
Change-Id: I4843d1d685917fd3f41409d0b11f5b768c2c1dd6
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>
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