OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Tue, 05 Aug 2008 11:45:35 EDT


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-head/src/WINNT/afsd

Modified Files:
	cm_access.c cm_dcache.c cm_scache.c 
Log Message:
DELTA windows-getaccessrights-20080805
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

Do not permit GetAccessRights() to be called multiple times within
cm_SyncOp for the same rights check.  If the GetAccessRights() succeeded
and in the next loop the rights check fails, the user simply doesn't
have the rights.

Move a call to cm_SyncOpDone(FETCHSTATUS) from GetBuffer() to MergeStatus().
Anytime an RPC completes successfully we get updated status info for
the object.  Might as well allow threads waiting for status info to us
it. 



--- DELTA config follows ---
windows-getaccessrights-20080805 openafs/src/WINNT/afsd/cm_access.c 1.27 1.28
windows-getaccessrights-20080805 openafs/src/WINNT/afsd/cm_dcache.c 1.62 1.63
windows-getaccessrights-20080805 openafs/src/WINNT/afsd/cm_scache.c 1.113 1.114