OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Thu, 27 Apr 2006 11:49:56 EDT
Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/WINNT/afsd
Modified Files:
cm_buf.c cm_vnodeops.c smb.c smb.h smb3.c smb3.h
Log Message:
DELTA 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 follows ---
windows-deadlock-and-race-removal-20060427 openafs/src/WINNT/afsd/cm_buf.c 1.30 1.31
windows-deadlock-and-race-removal-20060427 openafs/src/WINNT/afsd/cm_vnodeops.c 1.68 1.69
windows-deadlock-and-race-removal-20060427 openafs/src/WINNT/afsd/smb.c 1.117 1.118
windows-deadlock-and-race-removal-20060427 openafs/src/WINNT/afsd/smb.h 1.40 1.41
windows-deadlock-and-race-removal-20060427 openafs/src/WINNT/afsd/smb3.c 1.93 1.94
windows-deadlock-and-race-removal-20060427 openafs/src/WINNT/afsd/smb3.h 1.11 1.12