From 0f1dede9a90996d0a0cbbe91c2a0389b47b706b7 Mon Sep 17 00:00:00 2001 From: Uri Simchoni Date: Fri, 10 Nov 2017 21:39:54 +0200 Subject: [PATCH] vfs_glusterfs: remove init_search_op handling This VFS function is about to be removed. It can be removed by a separate commit because both the glusterfs and the default implementations are no-ops. Signed-off-by: Uri Simchoni Reviewed-by: Jeremy Allison --- source3/modules/vfs_glusterfs.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c index 8c245573b55..9489d9d4990 100644 --- a/source3/modules/vfs_glusterfs.c +++ b/source3/modules/vfs_glusterfs.c @@ -541,12 +541,6 @@ static void vfs_gluster_rewinddir(struct vfs_handle_struct *handle, DIR *dirp) glfs_seekdir((void *)dirp, 0); } -static void vfs_gluster_init_search_op(struct vfs_handle_struct *handle, - DIR *dirp) -{ - return; -} - static int vfs_gluster_mkdir(struct vfs_handle_struct *handle, const struct smb_filename *smb_fname, mode_t mode) @@ -1434,7 +1428,6 @@ static struct vfs_fn_pointers glusterfs_fns = { .mkdir_fn = vfs_gluster_mkdir, .rmdir_fn = vfs_gluster_rmdir, .closedir_fn = vfs_gluster_closedir, - .init_search_op_fn = vfs_gluster_init_search_op, /* File Operations */ -- 2.34.1