OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2150-g39d1528
Gerrit Code Review
gerrit@openafs.org
Sun, 5 Feb 2012 23:23:00 -0800 (PST)
The following commit has been merged in the master branch:
commit 39d152810de9adfa89acb994506d0b9d368395f2
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Sat Feb 4 17:26:02 2012 -0500
Windows: Avoid race during PIOCtl DirNode allocation
Use InterlockedCompareExchangePointer to assign the DirNode to
ObjectInfo->Specific.Directory.PIOCtlDirectoryCB. Otherwise,
one thread could race with another thread when allocating the
pioctl object.
Change-Id: Ic5b1a0ff2e44f2c4520cc7f5e536bd876bc83a65
Reviewed-on: http://gerrit.openafs.org/6661
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/AFSGeneric.cpp | 27 +++++++++++++++++++++++++--
1 files changed, 25 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository