s3: Pass "path" through vfs_notify_watch
[kai/samba.git] / examples / VFS / skel_transparent.c
index b38479003bb60988de4c4fa6f56d16d7063e3944..964ba6dc9ca955c2267b5246ce42084a792b2143 100644 (file)
@@ -357,12 +357,16 @@ static char *skel_realpath(vfs_handle_struct *handle,  const char *path)
        return SMB_VFS_NEXT_REALPATH(handle, path);
 }
 
-static NTSTATUS skel_notify_watch(struct vfs_handle_struct *handle,
-           struct sys_notify_context *ctx, struct notify_entry *e,
-           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, callback,
+static NTSTATUS skel_notify_watch(
+       struct vfs_handle_struct *handle,
+       struct sys_notify_context *ctx,
+       struct notify_entry *e,
+       const char *path,
+       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,
                private_data, handle_p);
 }