OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1750-g1b32b48
Gerrit Code Review
Wed, 12 Oct 2011 10:04:15 -0700 (PDT)
The following commit has been merged in the master branch:
Author: Rod Widdowson <firstname.lastname@example.org>
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.
Reviewed-by: Derrick Brashear <email@example.com>
Reviewed-by: Jeffrey Altman <firstname.lastname@example.org>
Tested-by: Jeffrey Altman <email@example.com>
src/WINNT/afsrdr/kernel/fs/AFSLibrarySupport.cpp | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
OpenAFS Master Repository