s3:blocking: split out smbd_smb1_do_locks_setup_timeout()
commit8da7c10a58292022ee57406db9a365de9ffaf5cf
authorStefan Metzmacher <metze@samba.org>
Thu, 15 Aug 2019 16:02:57 +0000 (15 18:02 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 9 Sep 2019 14:23:41 +0000 (9 14:23 +0000)
tree776c1d37abf36c422fea14063b3b1887e0ad080a
parent5a841a43f9c4f862e2d7235429363b3066cf5850
s3:blocking: split out smbd_smb1_do_locks_setup_timeout()

This function can be called multiple times, but only
the first time will setup the endtime. And the
endtime is relative to the request time and not
the current time.

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/smbd/blocking.c