mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
s3: VFS: vfs_glusterfs. Remove link_fn(). No longer used.
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
This commit is contained in:
parent
f9c3b0b3cf
commit
751852ced4
@ -1661,21 +1661,6 @@ static int vfs_gluster_readlink(struct vfs_handle_struct *handle,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int vfs_gluster_link(struct vfs_handle_struct *handle,
|
||||
const struct smb_filename *old_smb_fname,
|
||||
const struct smb_filename *new_smb_fname)
|
||||
{
|
||||
int ret;
|
||||
|
||||
START_PROFILE(syscall_link);
|
||||
ret = glfs_link(handle->data,
|
||||
old_smb_fname->base_name,
|
||||
new_smb_fname->base_name);
|
||||
END_PROFILE(syscall_link);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int vfs_gluster_linkat(struct vfs_handle_struct *handle,
|
||||
files_struct *srcfsp,
|
||||
const struct smb_filename *old_smb_fname,
|
||||
@ -1919,7 +1904,6 @@ static struct vfs_fn_pointers glusterfs_fns = {
|
||||
.getlock_fn = vfs_gluster_getlock,
|
||||
.symlink_fn = vfs_gluster_symlink,
|
||||
.readlink_fn = vfs_gluster_readlink,
|
||||
.link_fn = vfs_gluster_link,
|
||||
.linkat_fn = vfs_gluster_linkat,
|
||||
.mknod_fn = vfs_gluster_mknod,
|
||||
.realpath_fn = vfs_gluster_realpath,
|
||||
|
Loading…
Reference in New Issue
Block a user