diff options
author | Michael Adam <obnox@samba.org> | 2012-09-07 15:33:54 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-09-07 23:39:29 +0200 |
commit | 67290e7d2eb8b25b093d38371db046deca781a79 (patch) | |
tree | f7427afd85e32520c305c066d34ff3d28e474851 /source4 | |
parent | d3946fed75799739859c1d08f0a7dd361a39908e (diff) | |
download | samba-67290e7d2eb8b25b093d38371db046deca781a79.tar.gz samba-67290e7d2eb8b25b093d38371db046deca781a79.tar.bz2 samba-67290e7d2eb8b25b093d38371db046deca781a79.zip |
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 <metze@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/smb2/durable_v2_open.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/smb2/durable_v2_open.c b/source4/torture/smb2/durable_v2_open.c index 7e0e0f4616..85620965d1 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); |