From: Michael Adam Date: Fri, 7 Sep 2012 13:33:54 +0000 (+0200) Subject: s4:torture:smb2: in the durable-v2-reopen1 test, use a minimal request X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=67290e7d2eb8b25b093d38371db046deca781a79;p=metze%2Fsamba%2Fwip.git 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 --- diff --git a/source4/torture/smb2/durable_v2_open.c b/source4/torture/smb2/durable_v2_open.c index 7e0e0f4616ab..85620965d1e8 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);