smbd: Simplify open_file_ntcreate
authorVolker Lendecke <vl@samba.org>
Thu, 26 Sep 2013 22:20:36 +0000 (15:20 -0700)
committerMichael Adam <obnox@samba.org>
Wed, 16 Oct 2013 00:51:53 +0000 (02:51 +0200)
commita1fcd71f9aad98428e33bc2e31cf6d077b0c02fc
treec58ab3500b33b338de10c11e7c8b52ba1e696c27
parent4c0cf9fade8e9118c8da31cf3db3a4497321294b
smbd: Simplify open_file_ntcreate

Only one call to delay_for_oplocks left. Metze showed me the new logic:
BATCH is broken if we have a sharing violation. Exclusive is broken
otherwise. That's it.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Wed Oct 16 02:51:53 CEST 2013 on sn-devel-104
source3/smbd/open.c