]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: glusterfs: Remove vfs_gluster_removexattr(). No longer called.
authorJeremy Allison <jra@samba.org>
Mon, 22 Mar 2021 18:46:11 +0000 (11:46 -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_glusterfs.c

index 4fe71fcab9cff0e8765739dd3bc12bbf9dc0197d..5a36b94c41bcfee635da642f5f80fd6edaaba5e0 100644 (file)
@@ -2065,13 +2065,6 @@ static ssize_t vfs_gluster_flistxattr(struct vfs_handle_struct *handle,
        }
 }
 
-static int vfs_gluster_removexattr(struct vfs_handle_struct *handle,
-                               const struct smb_filename *smb_fname,
-                               const char *name)
-{
-       return glfs_removexattr(handle->data, smb_fname->base_name, name);
-}
-
 static int vfs_gluster_fremovexattr(struct vfs_handle_struct *handle,
                                    files_struct *fsp, const char *name)
 {
@@ -2386,7 +2379,6 @@ static struct vfs_fn_pointers glusterfs_fns = {
        .getxattrat_recv_fn = vfs_not_implemented_getxattrat_recv,
        .fgetxattr_fn = vfs_gluster_fgetxattr,
        .flistxattr_fn = vfs_gluster_flistxattr,
-       .removexattr_fn = vfs_gluster_removexattr,
        .fremovexattr_fn = vfs_gluster_fremovexattr,
        .fsetxattr_fn = vfs_gluster_fsetxattr,