OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3041-gf869b6f
Gerrit Code Review
gerrit@openafs.org
Sat, 27 Oct 2012 18:45:47 -0700 (PDT)
The following commit has been merged in the master branch:
commit f869b6f8c11f859fad6e3649faf7e724e0bd1d6d
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Fri Oct 19 09:33:18 2012 -0400
Windows: Promote DELETED from DirEntry to ObjInfo
On deletion of the DirEntry in AFSDeleteDirEntry() set the
AFS_OBJECT_FLAGS_DELETED flag on the ObjectInformation object
if and only if the AFS_DIR_ENTRY_DELETED flag was set in the
DirEntry. Setting the AFS_OBJECT_FLAGS_DELETED should not
be conditional on the ObjectInformatION ReferenceCount being
zero.
Remove the test and set of AFS_OBJECT_FLAGS_DELETED from
AFSClose() because that operation will already have been
performed in the call to AFSDeleteDirEntry() if necessary.
Change-Id: Ib52f89633e6a343b08d408ef24b067c8fae73e0f
Reviewed-on: http://gerrit.openafs.org/8256
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Rod Widdowson <rdw@steadingsoftware.com>
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/AFSClose.cpp | 2 --
src/WINNT/afsrdr/kernel/lib/AFSNameSupport.cpp | 11 ++++++-----
2 files changed, 6 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository