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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Fri, 20 Feb 2009 23:26:53 EST


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

Modified Files:
      Tag: openafs-devel-1_5_x
	smb.c smb3.c 
Log Message:
DELTA DEVEL15-windows-smb-misc-20090220
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

Fix smb_FindFIDByScache() to avoid obtaining the smb_fid_t.mx and
smb_rctLock out of order.  Doing so requires obtaining references
on each smb_fid_t belonging to the smb_vc_t in order to prevent them
from being removed from the list while the list is being walked.

Reorder tests for CM_SCACHEFLAG_DELETED and smb_fid_t.scp to make
them more efficient and consistent.

When processing Tran2SetPathInfo do not fail because an smb_fid_t
cannot be found for the path object.  The PathInfo function is
being used because we do not have a file descriptor.  Most importantly
do not fail by returning success.


--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-smb-misc-20090220 openafs/src/WINNT/afsd/smb.c 1.118.2.116 1.118.2.117
DEVEL15-windows-smb-misc-20090220 openafs/src/WINNT/afsd/smb3.c 1.95.2.88 1.95.2.89