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>
Fri, 21 Sep 2012 07:44:43 +0000 (09:44 +0200)
commit3709ac83a0671fc8ac546031f4992165a886de0d
tree983a90a40badd0e62f3be7a3d3eee177b10cc52f
parentf4826046d01bf702044a1664400989a631acf65f
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 b20ca77e2a9d111eb2e77d0b804fe7505b07e418)
source3/smbd/open.c