From: Jeremy Allison Date: Mon, 22 Mar 2021 18:34:02 +0000 (-0700) Subject: s3: VFS: full_audit: Remove smb_full_audit_removexattr(). No longer called. X-Git-Tag: tevent-0.11.0~1271 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=699c829bec895293132361c316c97dded2a8a828;p=thirdparty%2Fsamba.git s3: VFS: full_audit: Remove smb_full_audit_removexattr(). No longer called. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index ee26c6a5bfa..bbe5ea55dde 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -2838,24 +2838,6 @@ static ssize_t smb_full_audit_flistxattr(struct vfs_handle_struct *handle, return result; } -static int smb_full_audit_removexattr(struct vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - const char *name) -{ - int result; - - result = SMB_VFS_NEXT_REMOVEXATTR(handle, smb_fname, name); - - do_log(SMB_VFS_OP_REMOVEXATTR, - (result >= 0), - handle, - "%s|%s", - smb_fname_str_do_log(handle->conn, smb_fname), - name); - - return result; -} - static int smb_full_audit_fremovexattr(struct vfs_handle_struct *handle, struct files_struct *fsp, const char *name) @@ -3063,7 +3045,6 @@ static struct vfs_fn_pointers vfs_full_audit_fns = { .getxattrat_recv_fn = smb_full_audit_getxattrat_recv, .fgetxattr_fn = smb_full_audit_fgetxattr, .flistxattr_fn = smb_full_audit_flistxattr, - .removexattr_fn = smb_full_audit_removexattr, .fremovexattr_fn = smb_full_audit_fremovexattr, .fsetxattr_fn = smb_full_audit_fsetxattr, .aio_force_fn = smb_full_audit_aio_force,