diff options
author | Volker Lendecke <vl@samba.org> | 2014-12-12 15:37:30 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-07-07 23:51:24 +0200 |
commit | 70283ffd38bdaccbf05f66953aec6cfd83611aa5 (patch) | |
tree | 88e79484ba4245f6a518b7e2d79acfa2e473cd8a /examples | |
parent | c118c301c9d9b5eb9244e473ac8f251d40d11526 (diff) | |
download | samba-70283ffd38bdaccbf05f66953aec6cfd83611aa5.tar.gz |
smbd: Remove SMB_VFS_NOTIFY_WATCH
No longer needed
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 14 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 16 |
2 files changed, 0 insertions, 30 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 296a85501d5..70219981d04 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -490,19 +490,6 @@ static char *skel_realpath(vfs_handle_struct *handle, const char *path) return NULL; } -static NTSTATUS skel_notify_watch(struct vfs_handle_struct *handle, - struct sys_notify_context *ctx, - 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 NT_STATUS_NOT_IMPLEMENTED; -} - static int skel_chflags(vfs_handle_struct *handle, const char *path, uint flags) { @@ -918,7 +905,6 @@ struct vfs_fn_pointers skel_opaque_fns = { .link_fn = skel_link, .mknod_fn = skel_mknod, .realpath_fn = skel_realpath, - .notify_watch_fn = skel_notify_watch, .chflags_fn = skel_chflags, .file_id_create_fn = skel_file_id_create, .copy_chunk_send_fn = skel_copy_chunk_send, diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 10f5ac5570f..6c6adeac811 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -579,21 +579,6 @@ 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, - 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, path, - filter, subdir_filter, callback, - private_data, handle_p); -} - static int skel_chflags(vfs_handle_struct *handle, const char *path, uint flags) { @@ -1029,7 +1014,6 @@ struct vfs_fn_pointers skel_transparent_fns = { .link_fn = skel_link, .mknod_fn = skel_mknod, .realpath_fn = skel_realpath, - .notify_watch_fn = skel_notify_watch, .chflags_fn = skel_chflags, .file_id_create_fn = skel_file_id_create, .copy_chunk_send_fn = skel_copy_chunk_send, |