r974: Fix open code to pass more torture tests. We now pass the Samba4
authorJeremy Allison <jra@samba.org>
Wed, 2 Jun 2004 02:12:54 +0000 (02:12 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:51:51 +0000 (10:51 -0500)
commitefc96df3d5b415ca9c19527a44d0619992712b6d
treee78e7fd75c7e8e08fe156f344e05cd43f7496ff0
parent03d4344432c6aa75d400afc501aec1a14070f35d
r974: Fix open code to pass more torture tests. We now pass the Samba4
oplock test. We do this be changing the algorithm when breaking
oplocks slightly. Previously we broke an oplock, then re-loaded
the share modes and re-iterated. Now we break all oplocks, then
re-load the share modes and check the share details - then iterate.
This seems to match the way Win2k3 does it.
Jeremy.
(This used to be commit 5ec4f4e4e6596ea0f52aca5c9e1a75bf35612e37)
source3/smbd/open.c