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)
committerJeremy Allison <jra@samba.org>
Sat, 27 Jun 2020 04:20:39 +0000 (04:20 +0000)
commit6b5bd280f0f85aeb166559fc074cbbfb220911a9
tree54dfcdf5632c1b235b274d7e0f66c9eb396160cb
parent5846e4825604bcc1a15798c5da9f86ca44851b0e
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>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_lock.c