]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-smb-file-lock-20070209
authorAsanka Herath <asanka@secure-endpoints.com>
Sat, 10 Feb 2007 00:00:44 +0000 (00:00 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 10 Feb 2007 00:00:44 +0000 (00:00 +0000)
commit630a62f4605ef9896b455decb7153c1b163d122f
tree7123f46d8b30fd775e78f1c4e632570b90806fcf
parent868b971693d9c0b414be8b888e6a6258521ec1ab
DEVEL15-windows-smb-file-lock-20070209

When processing exclusive locks for files that were opened read-only,
obtain a read-lock instead of a write-lock.

In NTCreateX, if the file is being opened as OPEN_ALWAYS and the file
already exists, do not require write permission

(cherry picked from commit 25c7f567f2c831d62152104c3b84ec31d9fd330f)
src/WINNT/afsd/cm_vnodeops.c
src/WINNT/afsd/smb3.c