smbd: Simplify smbd_do_locking()
authorVolker Lendecke <vl@samba.org>
Fri, 31 May 2019 10:19:25 +0000 (12:19 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 18 Jun 2019 12:54:00 +0000 (12:54 +0000)
commite335b87503ea7f12e012d2aec84cd2946d71c161
tree74ec02c5a6f8a774ecbd76baaba016f5afc54e77
parentfbe9ec63802931edfb485c93fea56c6b4aa54f0b
smbd: Simplify smbd_do_locking()

LOCKING_ANDX_CANCEL_LOCK only is used in SMB1. Move its handling out
of the shared smb1/smb2 code.

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