Author: tridge
Date: 2006-04-05 09:06:09 +0000 (Wed, 05 Apr 2006)
New Revision: 14928

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14928

Log:

demonstrate that the completion filter is only set on the first notify
on a directory handle

Modified:
   branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c
   branches/SAMBA_4_0/source/torture/raw/notify.c


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c 2006-04-05 08:56:16 UTC 
(rev 14927)
+++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c 2006-04-05 09:06:09 UTC 
(rev 14928)
@@ -213,6 +213,8 @@
                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);

Modified: branches/SAMBA_4_0/source/torture/raw/notify.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/notify.c      2006-04-05 08:56:16 UTC 
(rev 14927)
+++ branches/SAMBA_4_0/source/torture/raw/notify.c      2006-04-05 09:06:09 UTC 
(rev 14928)
@@ -313,6 +313,7 @@
        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, &notify);
 

Reply via email to