vfs_delay_inject: add support for brl_[un]lock_windows()
authorStefan Metzmacher <metze@samba.org>
Mon, 19 Aug 2019 16:22:38 +0000 (18:22 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 9 Sep 2019 14:23:41 +0000 (14:23 +0000)
commitc2503a5c68e967054ab84ca0d8ce693200c2e002
tree39ab20c05f9893d4a55e3715da2c1ab1ab30f1aa
parent66d92f37c3a643d97489a59bb6d1e75e91528c20
vfs_delay_inject: add support for brl_[un]lock_windows()

This demonstrates the two ways to handle the retry:
- smb layer retry => plock->context.smblctx = UINT64_MAX
- vfs backend retry => plock->context.smblctx = 0

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>
source3/modules/vfs_delay_inject.c