s3: Fix opening a file under kernel oplocks
authorVolker Lendecke <vl@samba.org>
Tue, 25 Sep 2012 18:37:33 +0000 (11:37 -0700)
committerVolker Lendecke <vl@samba.org>
Sat, 29 Sep 2012 17:29:36 +0000 (19:29 +0200)
commite576bf5310bc9de9686a71539e9a1b60b4fba5cc
tree1142945f5600a886e66618158be0af42a870351d
parente00df42a37ab8ae9818d2dfd33effc160b9ff3c1
s3: Fix opening a file under kernel oplocks

With the prior code we assumed that we do not have kernel oplocks around
when we open a file because we handled samba-internal oplock breaks
before the open attempt.

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Sat Sep 29 19:29:36 CEST 2012 on sn-devel-104
source3/smbd/open.c