]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: full_audit: Remove smb_full_audit_removexattr(). No longer called.
authorJeremy Allison <jra@samba.org>
Mon, 22 Mar 2021 18:34:02 +0000 (11:34 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 7 Apr 2021 16:26:28 +0000 (16:26 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_full_audit.c

index ee26c6a5bfa0c59cc19c3fd2c4b48f10f5c4719a..bbe5ea55dde700eaf3f53ba30ff29834ef1d4173 100644 (file)
@@ -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,