OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2052-g2ef57a3
Gerrit Code Review
gerrit@openafs.org
Sat, 31 Dec 2011 13:23:27 -0800 (PST)
The following commit has been merged in the master branch:
commit 2ef57a3ee951660cb69d8656e9293c93b28e0d1e
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.
Change-Id: Iafad8260c5dfc4187a62c04b14d55ac0bf0e4aeb
Reviewed-on: http://gerrit.openafs.org/6462
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