diff options
author | Volker Lendecke <vl@samba.org> | 2012-03-19 21:57:50 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-03-21 12:52:09 +0100 |
commit | 4319076ccaf3e6264207a88b88dea0fa63b31879 (patch) | |
tree | 70e46f17397cf9c3d5bd85e8506a188efd5cc238 /source3/modules/vfs_default.c | |
parent | 06db3bfa374026c05dc21bf0454234dbdbedb26b (diff) | |
download | samba-4319076ccaf3e6264207a88b88dea0fa63b31879.tar.gz samba-4319076ccaf3e6264207a88b88dea0fa63b31879.tar.bz2 samba-4319076ccaf3e6264207a88b88dea0fa63b31879.zip |
s3: Pass "path" through vfs_notify_watch
Diffstat (limited to 'source3/modules/vfs_default.c')
-rw-r--r-- | source3/modules/vfs_default.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 1dbd308368..37ec7e884d 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -1633,6 +1633,7 @@ static char *vfswrap_realpath(vfs_handle_struct *handle, const char *path) static NTSTATUS vfswrap_notify_watch(vfs_handle_struct *vfs_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), @@ -1648,7 +1649,8 @@ static NTSTATUS vfswrap_notify_watch(vfs_handle_struct *vfs_handle, */ #ifdef HAVE_INOTIFY if (lp_kernel_change_notify(ctx->conn->params)) { - return inotify_watch(ctx, e, callback, private_data, handle); + return inotify_watch(ctx, e, path, callback, private_data, + handle); } #endif /* |