summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-08 17:24:02 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-14 17:23:46 +0200
commite80f79a1fb91ed71cf8d886791ef8485b78b20c3 (patch)
tree372ac5c6f227e3dfd2ebc5fbf3a5688c1dae2755
parent563fa741f6a34a1300c81a8474ca87346a9f5cca (diff)
downloadsamba-e80f79a1fb91ed71cf8d886791ef8485b78b20c3.tar.gz
samba-e80f79a1fb91ed71cf8d886791ef8485b78b20c3.tar.bz2
samba-e80f79a1fb91ed71cf8d886791ef8485b78b20c3.zip
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 <metze@samba.org> Autobuild-Date: Wed Sep 14 17:23:46 CEST 2011 on sn-devel-104
-rw-r--r--source3/torture/torture.c3
1 files changed, 0 insertions, 3 deletions
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)) {