OpenAFS CVS Commit: openafs/src/viced by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Fri, 07 Jun 2002 20:14:14 EDT


Update of /cvs/openafs/src/viced
In directory GRAND.CENTRAL.ORG:/data/sb/openafs-stable-1.2/openafs/src/viced

Modified Files:
      Tag: openafs-stable-1_2_x
	host.c 
Log Message:
DELTA STABLE12-prevent-host-deletion-race-20020415
AUTHOR kolya@mit.edu

Make h_Lookup_r return the host held, and ensure that it's not
deleted at that point; otherwise, the host may be deleted by
another thread between a call to h_Lookup_r and the time when
we actually get around to h_Hold'ing it.


--- DELTA config for openafs-stable-1_2_x follows ---
STABLE12-prevent-host-deletion-race-20020415 openafs/src/viced/host.c 1.7.2.3 1.7.2.4