OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_4-32-g8aad60d
Gerrit Code Review
gerrit@openafs.org
Tue, 3 Jan 2012 18:40:57 -0800 (PST)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit 7db630dd2ad01c1155505ca357b43c714f52f49b
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Sat Dec 31 16:07:00 2011 -0500
Windows: avoid race during Fcb cleanup
The worker thread can race with a AFSCleanup() operation and
tear down the Fcb before the AFSCleanup() drops the Fcb->NPFcb->Resource.
Avoid this race by requiring the worker thread to obtain the resource
once before deleting the resource.
Reviewed-on: http://gerrit.openafs.org/6462
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
(cherry picked from commit 2ef57a3ee951660cb69d8656e9293c93b28e0d1e)
Change-Id: Id475c8d99e7a7c8cf09fa1e6987cd04ca02d17bc
Reviewed-on: http://gerrit.openafs.org/6480
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository