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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Thu, 27 Apr 2006 11:55:40 EDT


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

Modified Files:
      Tag: openafs-stable-1_4_x
	cm_buf.c cm_vnodeops.c smb.c smb.h smb3.c smb3.h 
Log Message:
DELTA STABLE14-windows-deadlock-and-race-removal-20060427
AUTHOR jaltman@secure-endpoints.com

This patch fixes:

* race conditions around cm_Lock() calls that were not protected
  by cm_SyncOp(LOCK) [asanka@secure-endpoints.com]

* deadlocks caused by obtaining smb_fid_t->mx after cm_scache_t->mx

* removes an extra Release smb_fid_t->mx that could result in
  releasing a mutex that is not currently held

* changes the log representation of several return codes and fids to
  be consistent with other output



--- DELTA config for openafs-stable-1_4_x follows ---
STABLE14-windows-deadlock-and-race-removal-20060427 openafs/src/WINNT/afsd/cm_buf.c 1.13.2.14 1.13.2.15
STABLE14-windows-deadlock-and-race-removal-20060427 openafs/src/WINNT/afsd/cm_vnodeops.c 1.19.2.36 1.19.2.37
STABLE14-windows-deadlock-and-race-removal-20060427 openafs/src/WINNT/afsd/smb.c 1.55.2.51 1.55.2.52
STABLE14-windows-deadlock-and-race-removal-20060427 openafs/src/WINNT/afsd/smb.h 1.14.2.22 1.14.2.23
STABLE14-windows-deadlock-and-race-removal-20060427 openafs/src/WINNT/afsd/smb3.c 1.42.2.44 1.42.2.45
STABLE14-windows-deadlock-and-race-removal-20060427 openafs/src/WINNT/afsd/smb3.h 1.7.2.4 1.7.2.5