From: Jeremy Allison Date: Mon, 22 Mar 2021 18:14:16 +0000 (-0700) Subject: s3: VFS: ceph: Remove cephwrap_removexattr(). No longer called. X-Git-Tag: tevent-0.11.0~1273 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=899f520eb9d0cb97c4e050b00084cf88f55f944b;p=thirdparty%2Fsamba.git s3: VFS: ceph: Remove cephwrap_removexattr(). No longer called. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_ceph.c b/source3/modules/vfs_ceph.c index 6039127e13d..634222df764 100644 --- a/source3/modules/vfs_ceph.c +++ b/source3/modules/vfs_ceph.c @@ -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,