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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 08 Jun 2009 18:09:19 EDT


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

Modified Files:
	cm_cell.c cm_cell.h 
Log Message:
DELTA windows-cell-locking-20090608
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT
FIXES 124910

cm_cellLock protects the cm_cell_t fields allNextp, nameNextp, idNextp, 
and freeNextp.  Therefore, a write lock must be obtained whenever those
items may change.  This patch makes that consistent.

This patch also fixes an out of order lock acquisition and removes 
cm_cell_t objects from the id and name hash tables before freeing them.



--- DELTA config follows ---
windows-cell-locking-20090608 openafs/src/WINNT/afsd/cm_cell.c 1.52 1.53
windows-cell-locking-20090608 openafs/src/WINNT/afsd/cm_cell.h 1.19 1.20