OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_1-58-g64b9c8a
Gerrit Code Review
gerrit@openafs.org
Sat, 12 Nov 2011 15:50:22 -0800 (PST)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit 55f3f860ffd89af7f998812c25ddb1315e50041b
Author: Rod Widdowson <rdw@steadingsoftware.com>
Date: Wed Oct 12 11:04:33 2011 +0100
Windows AFSRDR: Log before decrementing refcount
The library support package keeps count of the number of times
the library code is active. When this goes to zero this means
that unload of the library can continue.
Although I cannot see it in the code it seems reasonable to assume
that at that stage the device object might go away so (and if it
doesn't do now it may in the future). This potentially renders it
unsafe to do anything after InflightLibraryEvent has been signalled.
This patch moves the logging up to above the decrement of the refcount.
Change-Id: If20f756d6e655bca6c560c8672a97003f122ba5e
Reviewed-on: http://gerrit.openafs.org/5601
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
(cherry-picked from 1b32b4800b1dd8985c1554453354e683a66c9ab5)
Reviewed-on: http://gerrit.openafs.org/5887
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsrdr/kernel/fs/AFSLibrarySupport.cpp | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
--
OpenAFS Master Repository