OpenAFS CVS Commit: openafs/src/viced by shadow

Sun, 03 Apr 2005 16:09:54 EDT

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

Modified Files:
	afsfileprocs.c host.c 
Log Message:
DELTA hid2client-write-lock-20050403
FIXES 17867

h_ID2Client currently returns a client struct with a shared lock. The
only caller of h_ID2Client (SRXAFS_FlushCPS) immediately calls
BoostSharedLock. This patch just goes ahead and makes h_ID2Client return
it with the write lock so we don't enter the Lock struct mutex multiple
times in a row. This also happens to remove the last reference to
BoostSharedLock in the tree.

--- DELTA config follows ---
hid2client-write-lock-20050403 openafs/src/viced/afsfileprocs.c 1.86 1.87
hid2client-write-lock-20050403 openafs/src/viced/host.c 1.59 1.60