mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
smbtorture: Correctly initialize notify request in smb2.notify.tree
Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
fddee66e20
commit
6bb41cf396
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user