]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-windows-byte-range-locks-20051007
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 8 Oct 2005 04:51:26 +0000 (04:51 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 8 Oct 2005 04:51:26 +0000 (04:51 +0000)
commit70f54edf7bea9bfc29b4eccf435b27b8c635cfec
tree4f39ec8b6d51f80f7c17edd63717dc38feaee6dc
parent5d4ceca03aca3274cb7a4f73616f23a56e742d33
STABLE14-windows-byte-range-locks-20051007

There was a race condition associated with maintaining the
CM_FILELOCK_FLAG_CLIENTONLY flag on locks bound to scache entries
for Read Only volumes.   Therefore, we remove the use of the flag
and simply test the RO status of the scache entry.

(cherry picked from commit 2dcb1cdc3d6f10b366d2b93970f5f1f83287e157)
src/WINNT/afsd/cm_dcache.c
src/WINNT/afsd/cm_scache.h
src/WINNT/afsd/cm_vnodeops.c