1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

VFS examples: remove init_search_ops

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:20:47 +02:00 committed by Jeremy Allison
parent 1d9e8ff87b
commit fd1aa4a6b0
2 changed files with 0 additions and 12 deletions

View File

@ -185,11 +185,6 @@ static int skel_closedir(vfs_handle_struct *handle, DIR *dir)
return -1;
}
static void skel_init_search_op(struct vfs_handle_struct *handle, DIR *dirp)
{
;
}
static int skel_open(vfs_handle_struct *handle, struct smb_filename *smb_fname,
files_struct *fsp, int flags, mode_t mode)
{
@ -954,7 +949,6 @@ struct vfs_fn_pointers skel_opaque_fns = {
.mkdir_fn = skel_mkdir,
.rmdir_fn = skel_rmdir,
.closedir_fn = skel_closedir,
.init_search_op_fn = skel_init_search_op,
/* File operations */

View File

@ -182,11 +182,6 @@ static int skel_closedir(vfs_handle_struct *handle, DIR *dir)
return SMB_VFS_NEXT_CLOSEDIR(handle, dir);
}
static void skel_init_search_op(struct vfs_handle_struct *handle, DIR *dirp)
{
SMB_VFS_NEXT_INIT_SEARCH_OP(handle, dirp);
}
static int skel_open(vfs_handle_struct *handle, struct smb_filename *smb_fname,
files_struct *fsp, int flags, mode_t mode)
{
@ -1127,7 +1122,6 @@ struct vfs_fn_pointers skel_transparent_fns = {
.mkdir_fn = skel_mkdir,
.rmdir_fn = skel_rmdir,
.closedir_fn = skel_closedir,
.init_search_op_fn = skel_init_search_op,
/* File operations */