OpenAFS CVS Commit: openafs/src/viced by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
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
AUTHOR tkeiser@psu.edu
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 1.81.2.5 1.81.2.6
STABLE14-hid2client-write-lock-20050403 openafs/src/viced/host.c 1.57.2.2 1.57.2.3