summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-04-05 09:06:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:00:18 -0500
commite221db7a39094f0e456388454096d4cdd88082e9 (patch)
tree439705c60f565828ef68cb8e335352037729c847 /source4/ntvfs/posix
parentd8544db317e697671f1e4ff17c5caa1224b6d5ae (diff)
downloadsamba-e221db7a39094f0e456388454096d4cdd88082e9.tar.gz
samba-e221db7a39094f0e456388454096d4cdd88082e9.tar.bz2
samba-e221db7a39094f0e456388454096d4cdd88082e9.zip
r14928: demonstrate that the completion filter is only set on the first notify
on a directory handle (This used to be commit b6e40d9b0832fbab662f9289a30c26e2576b4821)
Diffstat (limited to 'source4/ntvfs/posix')
-rw-r--r--source4/ntvfs/posix/pvfs_notify.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/pvfs_notify.c b/source4/ntvfs/posix/pvfs_notify.c
index 2733c59f8c..ea11a9ff90 100644
--- a/source4/ntvfs/posix/pvfs_notify.c
+++ b/source4/ntvfs/posix/pvfs_notify.c
@@ -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);