vfs_media_harmony: remove handling of init_search_op
authorUri Simchoni <uri@samba.org>
Fri, 10 Nov 2017 19:48:26 +0000 (21:48 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 11 Nov 2017 03:49:27 +0000 (04:49 +0100)
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 <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_media_harmony.c

index e39a444..43e6908 100644 (file)
@@ -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 */