1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

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 <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Uri Simchoni 2017-11-10 21:50:17 +02:00 committed by Jeremy Allison
parent 7a34ed88c8
commit bb40fa8445

View File

@ -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 */