windows-btree-flush-race-20090522
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 22 May 2009 17:00:33 +0000 (17:00 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 22 May 2009 17:00:33 +0000 (17:00 +0000)
commita31fd7f70f0049a180e5b02202941d3b1266c1f8
treefa79a6438951131fb645ba1b288ea45178589f97
parent12e85227c5dbfdb1258718ee3360bffacc4f96ac
windows-btree-flush-race-20090522

LICENSE MIT
FIXES 124787

A flush operation on a directory will result in the btree being destroyed.
This can race with on-going operations.  Make sure that the dirlock is held
if the btree is destroyed.  Otherwise, just invalidate the btree version
number.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
LICENSE MIT
FIXES 124787

correct sandbox leakage
src/WINNT/afsd/cm_ioctl.c
src/WINNT/afsd/cm_scache.c
src/WINNT/afsd/cm_scache.h