From 67290e7d2eb8b25b093d38371db046deca781a79 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 7 Sep 2012 15:33:54 +0200 Subject: [PATCH] s4:torture:smb2: in the durable-v2-reopen1 test, use a minimal request don't copy the old request, but only set the necessary fields Signed-off-by: Stefan Metzmacher --- source4/torture/smb2/durable_v2_open.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source4/torture/smb2/durable_v2_open.c b/source4/torture/smb2/durable_v2_open.c index 7e0e0f4616a..85620965d1e 100644 --- a/source4/torture/smb2/durable_v2_open.c +++ b/source4/torture/smb2/durable_v2_open.c @@ -413,8 +413,7 @@ bool test_durable_v2_open_reopen1(struct torture_context *tctx, /* try a durable reconnect while the file is still open */ ZERO_STRUCT(io2); - io2.in = io1.in; - io2.in.durable_open_v2 = false; + io2.in.fname = ""; io2.in.durable_handle_v2 = h; io2.in.create_guid = io1.in.create_guid; status = smb2_create(tree, mem_ctx, &io2); -- 2.11.4.GIT