s3: Pass filters explicitly through vfs notify watch
[kai/samba.git] / examples / VFS / skel_transparent.c
index 964ba6dc9ca955c2267b5246ce42084a792b2143..c57545c2e5421c06e81d99c7a1e557d6602897d1 100644 (file)
@@ -360,13 +360,15 @@ static char *skel_realpath(vfs_handle_struct *handle,  const char *path)
 static NTSTATUS skel_notify_watch(
        struct vfs_handle_struct *handle,
        struct sys_notify_context *ctx,
-       struct notify_entry *e,
        const char *path,
+       uint32_t *filter,
+       uint32_t *subdir_filter,
        void (*callback)(struct sys_notify_context *ctx, void *private_data,
                         struct notify_event *ev),
        void *private_data, void *handle_p)
 {
-       return SMB_VFS_NEXT_NOTIFY_WATCH(handle, ctx, e, path, callback,
+       return SMB_VFS_NEXT_NOTIFY_WATCH(handle, ctx, path,
+                                        filter, subdir_filter, callback,
                private_data, handle_p);
 }