s3:blocking: fix the fsp->blocked_smb1_lock_reqs handling
commit312327106271abafeb53e62dfb71a38bf93e2d41
authorStefan Metzmacher <metze@samba.org>
Fri, 16 Aug 2019 12:55:13 +0000 (16 14:55 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 9 Sep 2019 14:23:41 +0000 (9 14:23 +0000)
tree81b3db59ee53b49f83b93a7237a0289318e18bc3
parent997548a5f1a14d82f1e80cce6d9ee55e85b5107c
s3:blocking: fix the fsp->blocked_smb1_lock_reqs handling

A new request is first checks against all pending
requests before checking the already granted locks.

Before we retried the lock array of another request
(the first in the list), but then finished current request,
which is wrong.

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>
selftest/knownfail.d/multilock [deleted file]
source3/smbd/blocking.c