diff options
author | Jeremy Allison <jra@samba.org> | 2019-10-04 14:49:54 -0700 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2019-10-10 06:09:41 +0000 |
commit | ea386e13fc41cd1c42d6708b9898e74bfc8bb375 (patch) | |
tree | bec1660a7d6dfae89d3a7dec7826aadd7973ba51 /source3/modules | |
parent | 09d33f5b31f591c18a29be2265a4b536f3348c2b (diff) | |
download | samba-ea386e13fc41cd1c42d6708b9898e74bfc8bb375.tar.gz |
s3: VFS: vfs_extd_audit: Remove rmdir_fn(). No longer used.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_extd_audit.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/source3/modules/vfs_extd_audit.c b/source3/modules/vfs_extd_audit.c index 86968e67f5c..97b072f00de 100644 --- a/source3/modules/vfs_extd_audit.c +++ b/source3/modules/vfs_extd_audit.c @@ -236,27 +236,6 @@ static int audit_mkdirat(vfs_handle_struct *handle, return result; } -static int audit_rmdir(vfs_handle_struct *handle, - const struct smb_filename *smb_fname) -{ - int result; - - result = SMB_VFS_NEXT_RMDIR(handle, smb_fname); - - if (lp_syslog() > 0) { - syslog(audit_syslog_priority(handle), "rmdir %s %s%s\n", - smb_fname->base_name, - (result < 0) ? "failed: " : "", - (result < 0) ? strerror(errno) : ""); - } - DEBUG(0, ("vfs_extd_audit: rmdir %s %s %s\n", - smb_fname->base_name, - (result < 0) ? "failed: " : "", - (result < 0) ? strerror(errno) : "")); - - return result; -} - static int audit_open(vfs_handle_struct *handle, struct smb_filename *smb_fname, files_struct *fsp, int flags, mode_t mode) @@ -403,7 +382,6 @@ static struct vfs_fn_pointers vfs_extd_audit_fns = { .disconnect_fn = audit_disconnect, .opendir_fn = audit_opendir, .mkdirat_fn = audit_mkdirat, - .rmdir_fn = audit_rmdir, .open_fn = audit_open, .close_fn = audit_close, .renameat_fn = audit_renameat, |