OpenAFS CVS Commit: openafs/src/viced by shadow

Sun, 03 Apr 2005 16:19:22 EDT

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

Modified Files:
      Tag: openafs-stable-1_4_x
	afsfileprocs.c host.c 
Log Message:
DELTA STABLE14-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 for openafs-stable-1_4_x follows ---
STABLE14-hid2client-write-lock-20050403 openafs/src/viced/afsfileprocs.c
STABLE14-hid2client-write-lock-20050403 openafs/src/viced/host.c