From e80f79a1fb91ed71cf8d886791ef8485b78b20c3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 8 Sep 2011 17:24:02 +0200 Subject: s3:torture/run_oplock4: don't set cli->use_level_II_oplocks 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 Autobuild-Date: Wed Sep 14 17:23:46 CEST 2011 on sn-devel-104 --- source3/torture/torture.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source3') diff --git a/source3/torture/torture.c b/source3/torture/torture.c index ff1175de24..0f0c540e8d 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -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)) { -- cgit