s3: delete requests are not special
authorVolker Lendecke <vl@samba.org>
Mon, 10 Sep 2012 09:25:03 +0000 (11:25 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 11 Sep 2012 07:27:49 +0000 (09:27 +0200)
commit9d0a8945ce9f521934d6f580d2b48abce0169a6d
treef3079666622e21484fd085087c8d293a1efc2e22
parente059bcc59498661f165b13fb84edcb80900815ce
s3: delete requests are not special

The only difference between batch and exclusive oplocks is the time of
the check: Batch is checked before the share mode check, exclusive after.

Signed-off-by: Jeremy Allison <jra@samba.org>
Fix bug #9150 - Valid open requests can cause smbd assert due to incorrect
oplock handling on delete requests.
source3/smbd/open.c