1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

s3: VFS: vfs_audit. Remove mkdir_fn(). No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2019-09-06 15:10:38 -07:00 committed by Ralph Boehme
parent 99e04578e3
commit 71833b2245

View File

@ -194,22 +194,6 @@ static DIR *audit_opendir(vfs_handle_struct *handle,
return result;
}
static int audit_mkdir(vfs_handle_struct *handle,
const struct smb_filename *smb_fname,
mode_t mode)
{
int result;
result = SMB_VFS_NEXT_MKDIR(handle, smb_fname, mode);
syslog(audit_syslog_priority(handle), "mkdir %s %s%s\n",
smb_fname->base_name,
(result < 0) ? "failed: " : "",
(result < 0) ? strerror(errno) : "");
return result;
}
static int audit_mkdirat(vfs_handle_struct *handle,
struct files_struct *dirfsp,
const struct smb_filename *smb_fname,
@ -349,7 +333,6 @@ static struct vfs_fn_pointers vfs_audit_fns = {
.connect_fn = audit_connect,
.disconnect_fn = audit_disconnect,
.opendir_fn = audit_opendir,
.mkdir_fn = audit_mkdir,
.mkdirat_fn = audit_mkdirat,
.rmdir_fn = audit_rmdir,
.open_fn = audit_open,