From: Jeremy Allison Date: Thu, 22 Aug 2019 21:48:17 +0000 (-0700) Subject: s3: VFS: vfs_glusterfs. Remove readlink_fn(). No longer used. X-Git-Tag: tevent-0.10.1~165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7f2572a23324fdcc6aa9209332a1af995421465;p=thirdparty%2Fsamba.git s3: VFS: vfs_glusterfs. Remove readlink_fn(). No longer used. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Böhme --- diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c index 6595a831ad6..38517b7af5a 100644 --- a/source3/modules/vfs_glusterfs.c +++ b/source3/modules/vfs_glusterfs.c @@ -1673,20 +1673,6 @@ static int vfs_gluster_symlink(struct vfs_handle_struct *handle, return ret; } -static int vfs_gluster_readlink(struct vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - char *buf, - size_t bufsiz) -{ - int ret; - - START_PROFILE(syscall_readlink); - ret = glfs_readlink(handle->data, smb_fname->base_name, buf, bufsiz); - END_PROFILE(syscall_readlink); - - return ret; -} - static int vfs_gluster_readlinkat(struct vfs_handle_struct *handle, files_struct *dirfsp, const struct smb_filename *smb_fname, @@ -1947,7 +1933,6 @@ static struct vfs_fn_pointers glusterfs_fns = { .linux_setlease_fn = vfs_gluster_linux_setlease, .getlock_fn = vfs_gluster_getlock, .symlink_fn = vfs_gluster_symlink, - .readlink_fn = vfs_gluster_readlink, .readlinkat_fn = vfs_gluster_readlinkat, .linkat_fn = vfs_gluster_linkat, .mknodat_fn = vfs_gluster_mknodat,