]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:brlock: always return LOCK_NOT_GRANTED instead of FILE_LOCK_CONFLICT
authorStefan Metzmacher <metze@samba.org>
Mon, 19 Aug 2019 10:33:28 +0000 (12:33 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 9 Sep 2019 14:23:40 +0000 (14:23 +0000)
commitad98eec6090430ba5296a5111dde2e53b9cd217a
treea1897bae51d3db59427401bd87b06d536a59e6b2
parentaba0ee46258f3dd910421facb742fce3318a6946
s3:brlock: always return LOCK_NOT_GRANTED instead of FILE_LOCK_CONFLICT

Returning NT_STATUS_FILE_LOCK_CONFLICT is a SMB1 only detail
for delayed brlock requests, which is handled in
smbd_smb1_do_locks*().

The brlock layer should be consistent even for posix locks.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14113

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Volker Lendecke <vl@samba.org>
source3/locking/brlock.c