s3:blocking: maintain state->deny_status
authorStefan Metzmacher <metze@samba.org>
Mon, 19 Aug 2019 10:04:43 +0000 (12:04 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 9 Sep 2019 14:23:40 +0000 (14:23 +0000)
commitaba0ee46258f3dd910421facb742fce3318a6946
treef26e0dd5f2622b9113a5fa6dff5598d6e2c96c5b
parent2a77025a1e16d897281e5840192c93fa03328681
s3:blocking: maintain state->deny_status

For Windows locks we start with LOCK_NOT_GRANTED and use
FILE_LOCK_CONFLICT if we retried after a timeout.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
selftest/knownfail.d/samba3posixtimedlock [deleted file]
source3/smbd/blocking.c