Skip to content

Commit

Permalink
smbtorture: Correctly initialize notify request in smb2.notify.tree
Browse files Browse the repository at this point in the history
Signed-off-by: Christof Schmitt <[email protected]>
Reviewed-by: Volker Lendecke <[email protected]>
  • Loading branch information
chs authored and vlendec committed Jul 18, 2016
1 parent fddee66 commit 6bb41cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source4/torture/smb2/notify.c
Original file line number Diff line number Diff line change
Expand Up @@ -1883,7 +1883,9 @@ static bool torture_smb2_notify_tree(struct torture_context *torture,
do {
/* count events that have happened in each dir */
for (i=0;i<ARRAY_SIZE(dirs);i++) {
notify.smb2.in.completion_filter = dirs[i].filter;
notify.smb2.in.file.handle = dirs[i].h1;
notify.smb2.in.recursive = dirs[i].recursive;
req = smb2_notify_send(tree, &(notify.smb2));
smb2_cancel(req);
notify.smb2.out.num_changes = 0;
Expand Down

0 comments on commit 6bb41cf

Please sign in to comment.