s3:smb2_lock: pass in_lock_sequence to smbd_smb2_lock_send()
authorStefan Metzmacher <metze@samba.org>
Wed, 24 Oct 2012 12:53:05 +0000 (14:53 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 15 Oct 2019 07:36:22 +0000 (09:36 +0200)
commit18febad451fe60e7c57e23f980202a00740eaab9
tree60e5f4dc6628b8f95efba985bf266ba809287eb0
parentbd935bebd48b2873ca3cc994f8de388bf6fc045c
s3:smb2_lock: pass in_lock_sequence to smbd_smb2_lock_send()

Take the value from the client if the dialect is SMB2_10 or higher,
otherwise default to 0.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/smb2_lock.c