mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
r14928: demonstrate that the completion filter is only set on the first notify
on a directory handle (This used to be commit b6e40d9b0832fbab662f9289a30c26e2576b4821)
This commit is contained in:
parent
d8544db317
commit
e221db7a39
@ -213,6 +213,8 @@ NTSTATUS pvfs_notify(struct ntvfs_module_context *ntvfs,
|
||||
NT_STATUS_NOT_OK_RETURN(status);
|
||||
}
|
||||
|
||||
/* we update the max_buffer_size on each call, but we do not
|
||||
update the recursive flag or filter */
|
||||
f->notify_buffer->max_buffer_size = info->in.buffer_size;
|
||||
|
||||
pending = talloc(f->notify_buffer, struct notify_pending);
|
||||
|
@ -313,6 +313,7 @@ static BOOL test_notify_recursive(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
|
||||
smbcli_rename(cli->tree, BASEDIR "\\subdir-name\\subname2", BASEDIR "\\subname2-r");
|
||||
smbcli_rename(cli->tree, BASEDIR "\\subname2-r", BASEDIR "\\subname3-r");
|
||||
|
||||
notify.in.completion_filter = 0;
|
||||
notify.in.recursive = True;
|
||||
req1 = smb_raw_changenotify_send(cli->tree, ¬ify);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user