Skip to content

Commit

Permalink
s4: tortute: Add a TALLOC_CTX * to torture_smb2_ioctl_init().
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Allison <[email protected]>
Reviewed-by: Ralph Böhme <[email protected]>
  • Loading branch information
jrasamba committed May 5, 2017
1 parent 3f5ad6f commit 6264d21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source4/torture/smb2/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -6188,9 +6188,9 @@ static bool test_ioctl_dup_extents_dest_lck(struct torture_context *tctx,
/*
* testing of SMB2 ioctls
*/
struct torture_suite *torture_smb2_ioctl_init(void)
struct torture_suite *torture_smb2_ioctl_init(TALLOC_CTX *ctx)
{
struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "ioctl");
struct torture_suite *suite = torture_suite_create(ctx, "ioctl");

torture_suite_add_1smb2_test(suite, "shadow_copy",
test_ioctl_get_shadow_copy);
Expand Down
2 changes: 1 addition & 1 deletion source4/torture/smb2/smb2.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ NTSTATUS torture_smb2_init(TALLOC_CTX *ctx)
torture_suite_add_suite(suite, torture_smb2_oplocks_init());
torture_suite_add_suite(suite, torture_smb2_kernel_oplocks_init());
torture_suite_add_suite(suite, torture_smb2_streams_init());
torture_suite_add_suite(suite, torture_smb2_ioctl_init());
torture_suite_add_suite(suite, torture_smb2_ioctl_init(suite));
torture_suite_add_suite(suite, torture_smb2_rename_init());
torture_suite_add_1smb2_test(suite, "bench-oplock", test_smb2_bench_oplock);
torture_suite_add_1smb2_test(suite, "hold-oplock", test_smb2_hold_oplock);
Expand Down

0 comments on commit 6264d21

Please sign in to comment.