summaryrefslogtreecommitdiff
path: root/examples/VFS
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-19 21:57:50 +0100
committerVolker Lendecke <vl@samba.org>2012-03-21 12:52:09 +0100
commit4319076ccaf3e6264207a88b88dea0fa63b31879 (patch)
tree70e46f17397cf9c3d5bd85e8506a188efd5cc238 /examples/VFS
parent06db3bfa374026c05dc21bf0454234dbdbedb26b (diff)
downloadsamba-4319076ccaf3e6264207a88b88dea0fa63b31879.tar.gz
samba-4319076ccaf3e6264207a88b88dea0fa63b31879.tar.bz2
samba-4319076ccaf3e6264207a88b88dea0fa63b31879.zip
s3: Pass "path" through vfs_notify_watch
Diffstat (limited to 'examples/VFS')
-rw-r--r--examples/VFS/skel_transparent.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c
index b38479003b..964ba6dc9c 100644
--- a/examples/VFS/skel_transparent.c
+++ b/examples/VFS/skel_transparent.c
@@ -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);
}