]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-windows-byte-range-locks-20051006
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 6 Oct 2005 14:50:11 +0000 (14:50 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 6 Oct 2005 14:50:11 +0000 (14:50 +0000)
commit47ccf390327f6368529cc74cb12af711d4dec869
treec4488f27877c87e9fed30105fcefe3566bc83de4
parentaf644a3e83dc07f49024e1957a434004af9e9e20
STABLE14-windows-byte-range-locks-20051006

Do not mark locks lost simply because the ExtendLock failed.
A lock is only lost if the server responds with EINVAL indicating
that the lock no longer exists. A lock can be renewed by other clients
that are also using the file.  The client can make no assumptions about
the status of a lock based upon the passage of time.

(cherry picked from commit 8445720d36474797b67341991f15771dcb90b236)
src/WINNT/afsd/cm_vnodeops.c