From fd1aa4a6b0f58882e3ae6a53f9116d254e036cdf Mon Sep 17 00:00:00 2001 From: Uri Simchoni Date: Fri, 10 Nov 2017 21:20:47 +0200 Subject: [PATCH] VFS examples: remove init_search_ops Signed-off-by: Uri Simchoni Reviewed-by: Jeremy Allison --- examples/VFS/skel_opaque.c | 6 ------ examples/VFS/skel_transparent.c | 6 ------ 2 files changed, 12 deletions(-) diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 614dcffa928..e6c066d2eb8 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -185,11 +185,6 @@ static int skel_closedir(vfs_handle_struct *handle, DIR *dir) return -1; } -static void skel_init_search_op(struct vfs_handle_struct *handle, DIR *dirp) -{ - ; -} - static int skel_open(vfs_handle_struct *handle, struct smb_filename *smb_fname, files_struct *fsp, int flags, mode_t mode) { @@ -954,7 +949,6 @@ struct vfs_fn_pointers skel_opaque_fns = { .mkdir_fn = skel_mkdir, .rmdir_fn = skel_rmdir, .closedir_fn = skel_closedir, - .init_search_op_fn = skel_init_search_op, /* File operations */ diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 2f59a3db870..59d16340025 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -182,11 +182,6 @@ static int skel_closedir(vfs_handle_struct *handle, DIR *dir) return SMB_VFS_NEXT_CLOSEDIR(handle, dir); } -static void skel_init_search_op(struct vfs_handle_struct *handle, DIR *dirp) -{ - SMB_VFS_NEXT_INIT_SEARCH_OP(handle, dirp); -} - static int skel_open(vfs_handle_struct *handle, struct smb_filename *smb_fname, files_struct *fsp, int flags, mode_t mode) { @@ -1127,7 +1122,6 @@ struct vfs_fn_pointers skel_transparent_fns = { .mkdir_fn = skel_mkdir, .rmdir_fn = skel_rmdir, .closedir_fn = skel_closedir, - .init_search_op_fn = skel_init_search_op, /* File operations */