diff options
author | Jeremy Allison <jra@samba.org> | 2019-08-16 16:19:22 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-08-20 21:09:29 +0000 |
commit | 228423811c97d4ee99df924699ae4c003df3e2f9 (patch) | |
tree | 1043992ade4da61c8713820854ad126257bc8d0a /source3 | |
parent | 45851ead18ab687218648237e8651887e4d809fa (diff) | |
download | samba-228423811c97d4ee99df924699ae4c003df3e2f9.tar.gz |
s3: VFS: vfs_ceph. Remove link_fn(). No longer used.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_ceph.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source3/modules/vfs_ceph.c b/source3/modules/vfs_ceph.c index 7aaa8e3aa24..93d5801136d 100644 --- a/source3/modules/vfs_ceph.c +++ b/source3/modules/vfs_ceph.c @@ -1156,21 +1156,6 @@ static int cephwrap_readlink(struct vfs_handle_struct *handle, WRAP_RETURN(result); } -static int cephwrap_link(struct vfs_handle_struct *handle, - const struct smb_filename *old_smb_fname, - const struct smb_filename *new_smb_fname) -{ - int result = -1; - DBG_DEBUG("[CEPH] link(%p, %s, %s)\n", handle, - old_smb_fname->base_name, - new_smb_fname->base_name); - result = ceph_link(handle->data, - old_smb_fname->base_name, - new_smb_fname->base_name); - DBG_DEBUG("[CEPH] link(...) = %d\n", result); - WRAP_RETURN(result); -} - static int cephwrap_linkat(struct vfs_handle_struct *handle, files_struct *srcfsp, const struct smb_filename *old_smb_fname, @@ -1473,7 +1458,6 @@ static struct vfs_fn_pointers ceph_fns = { .getlock_fn = cephwrap_getlock, .symlink_fn = cephwrap_symlink, .readlink_fn = cephwrap_readlink, - .link_fn = cephwrap_link, .linkat_fn = cephwrap_linkat, .mknod_fn = cephwrap_mknod, .realpath_fn = cephwrap_realpath, |