smbd: Assert that INTERNAL_OPEN_ONLY never gets real oplocks
authorVolker Lendecke <vl@samba.org>
Tue, 6 Aug 2019 15:27:12 +0000 (17:27 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 6 Aug 2019 23:06:41 +0000 (23:06 +0000)
commitaab17124785b6e4c004368b69bee28fb6cad55c3
treec54823ba257bab667e83aa1df6340f5d9c2692a4
parent5e05686e392107b0e75ca9db6a735eef90245665
smbd: Assert that INTERNAL_OPEN_ONLY never gets real oplocks

Slightly simplify assumptions in the code

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Aug  6 23:06:41 UTC 2019 on sn-devel-184
source3/smbd/open.c