diff options
author | Uri Simchoni <uri@samba.org> | 2017-11-10 21:53:58 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-11-11 04:49:27 +0100 |
commit | 37ac8ad4bf3122c369eec6f213bb8a62f8e92884 (patch) | |
tree | f7da17a2b4c43f77e9390b355b2ec69d03767884 /source3/modules/vfs_full_audit.c | |
parent | bb40fa8445d650e6d840abe96b0143950da037ca (diff) | |
download | samba-37ac8ad4bf3122c369eec6f213bb8a62f8e92884.tar.gz |
vfs: remove SMB_VFS_INIT_SEARCH_OP
This VFS is no longer being called, hence removed.
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/modules/vfs_full_audit.c')
-rw-r--r-- | source3/modules/vfs_full_audit.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index a205007f46f..b8471593db7 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -110,7 +110,6 @@ typedef enum _vfs_op_type { SMB_VFS_OP_MKDIR, SMB_VFS_OP_RMDIR, SMB_VFS_OP_CLOSEDIR, - SMB_VFS_OP_INIT_SEARCH_OP, /* File operations */ @@ -256,7 +255,6 @@ static struct { { SMB_VFS_OP_MKDIR, "mkdir" }, { SMB_VFS_OP_RMDIR, "rmdir" }, { SMB_VFS_OP_CLOSEDIR, "closedir" }, - { SMB_VFS_OP_INIT_SEARCH_OP, "init_search_op" }, { SMB_VFS_OP_OPEN, "open" }, { SMB_VFS_OP_CREATE_FILE, "create_file" }, { SMB_VFS_OP_CLOSE, "close" }, @@ -930,14 +928,6 @@ static int smb_full_audit_closedir(vfs_handle_struct *handle, return result; } -static void smb_full_audit_init_search_op(vfs_handle_struct *handle, - DIR *dirp) -{ - SMB_VFS_NEXT_INIT_SEARCH_OP(handle, dirp); - - do_log(SMB_VFS_OP_INIT_SEARCH_OP, True, handle, ""); -} - static int smb_full_audit_open(vfs_handle_struct *handle, struct smb_filename *smb_fname, files_struct *fsp, int flags, mode_t mode) @@ -2516,7 +2506,6 @@ static struct vfs_fn_pointers vfs_full_audit_fns = { .mkdir_fn = smb_full_audit_mkdir, .rmdir_fn = smb_full_audit_rmdir, .closedir_fn = smb_full_audit_closedir, - .init_search_op_fn = smb_full_audit_init_search_op, .open_fn = smb_full_audit_open, .create_file_fn = smb_full_audit_create_file, .close_fn = smb_full_audit_close, |