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

Thu, 20 Apr 2006 14:52:03 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_scache.h cm_vnodeops.c 
Log Message:
DELTA windows-client-side-locking-20060420

In order to make the client side locking more usable, if the client
is denied a lock by the server and the user only has read privileges,
then we will allocate a local lock.  Local locks are not allocated 
for write locks.  

There is a bug in the file server locking dating back to at least 
AFS 3.1 in which the lock privilege is used for read, write and insert
locks.  According to the docs, the lock privilege is only supposed to
control read locks.  Write locks on new and existing files are supposed
to be controlled by the Write and Insert privileges.  This will be fixed
in the file server by another commit.

--- DELTA config follows ---
windows-client-side-locking-20060420 openafs/src/WINNT/afsd/cm_scache.h 1.19 1.20
windows-client-side-locking-20060420 openafs/src/WINNT/afsd/cm_vnodeops.c 1.66 1.67