s3:smb2_lock: make use of smbd_smb2_lock_try() in smbd_smb2_lock_send()
authorStefan Metzmacher <metze@samba.org>
Tue, 13 Aug 2019 14:39:41 +0000 (16:39 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 9 Sep 2019 14:23:40 +0000 (14:23 +0000)
commit359e9992be713bbecfdb19998d69e1d3f020c5e9
tree1461449b40221879fb41285361416a93daf532ff
parent7f77e0b4e9878f1f3515206d052adc012e26aafb
s3:smb2_lock: make use of smbd_smb2_lock_try() in smbd_smb2_lock_send()

We only need the logic to call smbd_do_locks_try() and a possible
retry once in smbd_smb2_lock_try().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14113

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smb2_lock.c