OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Thu, 12 Jan 2006 13:45:17 EST
Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/WINNT/afsd
Modified Files:
cm_scache.c cm_scache.h cm_vnodeops.c smb.c
Log Message:
DELTA windows-lock-data-versions-20060112
AUTHOR asanka@secure-endpoints.com
Add a lockDataVersion field to cm_scache_t. This data version is
compared to the cm_scache_t dataVersion field in the following
circumstances:
* lock upgrades from read to write in which the lock must be released
given current file server rpcs
* lock downgrades from write to read in which the lock must be released
given current file server rpcs
* lost locks due to network disconnect. if the data version has not
changed then re-obtaining the lock is safe to do
--- DELTA config follows ---
windows-lock-data-versions-20060112 openafs/src/WINNT/afsd/cm_scache.c 1.32 1.33
windows-lock-data-versions-20060112 openafs/src/WINNT/afsd/cm_scache.h 1.17 1.18
windows-lock-data-versions-20060112 openafs/src/WINNT/afsd/cm_vnodeops.c 1.62 1.63
windows-lock-data-versions-20060112 openafs/src/WINNT/afsd/smb.c 1.98 1.99