OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Fri, 22 May 2009 10:47:56 EDT


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-head/src/WINNT/afsd

Modified Files:
	cm_ioctl.c cm_scache.c cm_scache.h 
Log Message:
DELTA windows-btree-flush-race-20090522
AUTHOR jaltman@secure-endpoints.com
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.



--- DELTA config follows ---
windows-btree-flush-race-20090522 openafs/src/WINNT/afsd/cm_ioctl.c 1.142 1.143
windows-btree-flush-race-20090522 openafs/src/WINNT/afsd/cm_scache.c 1.126 1.127
windows-btree-flush-race-20090522 openafs/src/WINNT/afsd/cm_scache.h 1.52 1.53