OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2050-g36657b8
Gerrit Code Review
gerrit@openafs.org
Sat, 31 Dec 2011 13:22:33 -0800 (PST)
The following commit has been merged in the master branch:
commit 36657b8505e3b232158a63b4ecad12fa59548b3a
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Fri Dec 30 20:24:49 2011 -0500
Windows: AFSInsertHashEntry can fail
If AFSInsertHashEntry() fails, the object information structure
that was being inserted is not in the btree. Therefore, ensure
that the object does not have the AFS_OBJECT_INSERTED_HASH_TREE
or AFS_VOLUME_INSERTED_HASH_TREE flag set (as appropriate).
This permits the unreferenced object to be garbage collected.
Change-Id: I023f765571a7ba014556d9505ab2d46ec930f1a2
Reviewed-on: http://gerrit.openafs.org/6458
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsrdr/kernel/lib/AFSBTreeSupport.cpp | 2 --
src/WINNT/afsrdr/kernel/lib/AFSFcbSupport.cpp | 12 ++++++++----
src/WINNT/afsrdr/kernel/lib/AFSFileInfo.cpp | 13 +++++++++++--
3 files changed, 19 insertions(+), 8 deletions(-)
--
OpenAFS Master Repository