From: Uri Simchoni Date: Fri, 10 Nov 2017 19:50:17 +0000 (+0200) Subject: vfs_unityed_media: remove handling of init_search_op X-Git-Tag: tevent-0.9.34~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb40fa8445d650e6d840abe96b0143950da037ca;p=thirdparty%2Fsamba.git vfs_unityed_media: remove handling of init_search_op init_search_op is about to be removed from the VFS in a following commit. In the meantime, removing it poses no issue because he underlying impementation is a no-op. Signed-off-by: Uri Simchoni Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_unityed_media.c b/source3/modules/vfs_unityed_media.c index 34881bc50b7..f55061afaec 100644 --- a/source3/modules/vfs_unityed_media.c +++ b/source3/modules/vfs_unityed_media.c @@ -846,15 +846,6 @@ static int um_closedir(vfs_handle_struct *handle, return SMB_VFS_NEXT_CLOSEDIR(handle, realdirp); } -static void um_init_search_op(vfs_handle_struct *handle, - DIR *dirp) -{ - DEBUG(10, ("Entering and leaving um_init_search_op\n")); - - SMB_VFS_NEXT_INIT_SEARCH_OP(handle, - ((um_dirinfo_struct*)dirp)->dirstream); -} - static int um_open(vfs_handle_struct *handle, struct smb_filename *smb_fname, files_struct *fsp, @@ -1908,7 +1899,6 @@ static struct vfs_fn_pointers vfs_um_fns = { .mkdir_fn = um_mkdir, .rmdir_fn = um_rmdir, .closedir_fn = um_closedir, - .init_search_op_fn = um_init_search_op, /* File operations */