diff --git a/source3/modules/vfs_ceph.c b/source3/modules/vfs_ceph.c index 098a017b85c..c873d8b9abe 100644 --- a/source3/modules/vfs_ceph.c +++ b/source3/modules/vfs_ceph.c @@ -1128,21 +1128,6 @@ static int cephwrap_linux_setlease(struct vfs_handle_struct *handle, files_struc return result; } -static int cephwrap_symlink(struct vfs_handle_struct *handle, - const char *link_target, - const struct smb_filename *new_smb_fname) -{ - int result = -1; - DBG_DEBUG("[CEPH] symlink(%p, %s, %s)\n", handle, - link_target, - new_smb_fname->base_name); - result = ceph_symlink(handle->data, - link_target, - new_smb_fname->base_name); - DBG_DEBUG("[CEPH] symlink(...) = %d\n", result); - WRAP_RETURN(result); -} - static int cephwrap_symlinkat(struct vfs_handle_struct *handle, const char *link_target, struct files_struct *dirfsp, @@ -1481,7 +1466,6 @@ static struct vfs_fn_pointers ceph_fns = { .kernel_flock_fn = cephwrap_kernel_flock, .linux_setlease_fn = cephwrap_linux_setlease, .getlock_fn = cephwrap_getlock, - .symlink_fn = cephwrap_symlink, .symlinkat_fn = cephwrap_symlinkat, .readlinkat_fn = cephwrap_readlinkat, .linkat_fn = cephwrap_linkat,