s3:torture/run_oplock4: don't set cli->use_level_II_oplocks
authorStefan Metzmacher <metze@samba.org>
Thu, 8 Sep 2011 15:24:02 +0000 (17:24 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 14 Sep 2011 15:23:46 +0000 (17:23 +0200)
Doing this after the session setup is pointless,
as that's the only place where we tell the server we support
level II oplocks.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Sep 14 17:23:46 CEST 2011 on sn-devel-104

source3/torture/torture.c

index ff1175de24f21ccde79664fca449b85b7fbd5c38..0f0c540e8d0327bb51beec860e64f8eb41b9157c 100644 (file)
@@ -3761,10 +3761,7 @@ static bool run_oplock4(int dummy)
        }
 
        cli1->use_oplocks = true;
-       cli1->use_level_II_oplocks = true;
-
        cli2->use_oplocks = true;
-       cli2->use_level_II_oplocks = true;
 
        status = cli_open(cli1, fname, O_RDWR, DENY_NONE, &fnum1);
        if (!NT_STATUS_IS_OK(status)) {