s3: delete requests are not special
commitc507e985185f998bab8147ff08dec815107f036c
authorVolker Lendecke <vl@samba.org>
Mon, 10 Sep 2012 09:25:03 +0000 (10 11:25 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 13 Sep 2012 09:19:51 +0000 (13 11:19 +0200)
tree6e531a4c0983b88e17e2fa09102b3f5f28f64837
parentd743a042a6a12a9df92195f15f667be3ee068715
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.
(cherry picked from commit 9d0a8945ce9f521934d6f580d2b48abce0169a6d)
source3/smbd/open.c