OpenAFS CVS Commit: openafs/src/viced by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 20 Feb 2006 10:26:22 EST


Update of /cvs/openafs/src/viced
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/viced

Modified Files:
	afsfileprocs.c host.c 
Log Message:
DELTA viced-client-cps-race-fix-20060220
AUTHOR jaltman@secure-endpoints.com

remove a race condition between h_TossStuff_r and SRXAFS_FlushCPS by
changing h_ID2Client to return the client with a refcount and then
release the refCount with PutClient.

when the CPS list is non-NULL and the viceid is ANONYMOUSID be sure
to set the prlist_val to NULL if the prlist_len is being set to 0 
since all of the tests are performed on prlist_val



--- DELTA config follows ---
viced-client-cps-race-fix-20060220 openafs/src/viced/afsfileprocs.c 1.101 1.102
viced-client-cps-race-fix-20060220 openafs/src/viced/host.c 1.76 1.77