smbd: Remove FORCE_OPLOCK_BREAK_TO_NONE
authorVolker Lendecke <vl@samba.org>
Wed, 4 Sep 2013 15:26:30 +0000 (17:26 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 5 Sep 2013 22:47:07 +0000 (00:47 +0200)
commit196da5925b6263b616149f8c4c8d67e1572dea4f
treefeeca0c2deed1becd6252d911ebee5872896aad7
parent778636920b5194b101ce64956ef44c84a785145c
smbd: Remove FORCE_OPLOCK_BREAK_TO_NONE

This flag existed to break an exclusive or batch oplock in just one
instead of two steps down to "no oplock" when we did an allocation or file
size change.  Running raw.oplock against W2k12 differs in this respect
from W2k3: W2k12 takes two steps (via level2) to break to none. This
removes the special flag that we only had for compatibility with systems
older than W2k12...

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): Fri Sep  6 00:47:07 CEST 2013 on sn-devel-104
source3/include/smb.h
source3/smbd/open.c
source3/smbd/oplock.c
source3/smbd/trans2.c
source4/torture/raw/oplock.c