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

index 6039127e13d2696358e424a1bf6baeb2161673f8..634222df764b607caa148136fbb91a8db386d2b4 100644 (file)
@@ -1307,18 +1307,6 @@ static ssize_t cephwrap_flistxattr(struct vfs_handle_struct *handle, struct file
        return (ssize_t)ret;
 }
 
-static int cephwrap_removexattr(struct vfs_handle_struct *handle,
-                               const struct smb_filename *smb_fname,
-                               const char *name)
-{
-       int ret;
-       DBG_DEBUG("[CEPH] removexattr(%p, %s, %s)\n", handle,
-                       smb_fname->base_name, name);
-       ret = ceph_removexattr(handle->data, smb_fname->base_name, name);
-       DBG_DEBUG("[CEPH] removexattr(...) = %d\n", ret);
-       WRAP_RETURN(ret);
-}
-
 static int cephwrap_fremovexattr(struct vfs_handle_struct *handle, struct files_struct *fsp, const char *name)
 {
        int ret;
@@ -1617,7 +1605,6 @@ static struct vfs_fn_pointers ceph_fns = {
        .getxattrat_recv_fn = vfs_not_implemented_getxattrat_recv,
        .fgetxattr_fn = cephwrap_fgetxattr,
        .flistxattr_fn = cephwrap_flistxattr,
-       .removexattr_fn = cephwrap_removexattr,
        .fremovexattr_fn = cephwrap_fremovexattr,
        .fsetxattr_fn = cephwrap_fsetxattr,