From: Uri Simchoni Date: Fri, 10 Nov 2017 19:48:26 +0000 (+0200) Subject: vfs_media_harmony: remove handling of init_search_op X-Git-Tag: tevent-0.9.34~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a34ed88c88036942d955fcc1e303e147f2001fb;p=thirdparty%2Fsamba.git vfs_media_harmony: remove handling of init_search_op This VFS function is about to be removed in a following commit. In the meantime, not handling it by vfs_media_harmony poses no issue because the underlying implenentation is a no-op. Signed-off-by: Uri Simchoni Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_media_harmony.c b/source3/modules/vfs_media_harmony.c index e39a4447bc9..43e69086945 100644 --- a/source3/modules/vfs_media_harmony.c +++ b/source3/modules/vfs_media_harmony.c @@ -1128,18 +1128,6 @@ static int mh_closedir(vfs_handle_struct *handle, return SMB_VFS_NEXT_CLOSEDIR(handle, realdirp); } -/* - * Success: no success result defined. - * Failure: no failure result defined. - */ -static void mh_init_search_op(vfs_handle_struct *handle, - DIR *dirp) -{ - DEBUG(MH_INFO_DEBUG, ("Entering and leaving mh_init_search_op\n")); - SMB_VFS_NEXT_INIT_SEARCH_OP(handle, - ((mh_dirinfo_struct*)dirp)->dirstream); -} - /* * Success: return non-negative file descriptor * Failure: set errno, return -1 @@ -2321,7 +2309,6 @@ static struct vfs_fn_pointers vfs_mh_fns = { .mkdir_fn = mh_mkdir, .rmdir_fn = mh_rmdir, .closedir_fn = mh_closedir, - .init_search_op_fn = mh_init_search_op, /* File operations */