From f42642e54e560f8a6328cbc035b0bbcfdffcf728 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 16 Aug 2019 16:40:37 -0700 Subject: s3: VFS: Complete the replacement of SMB_VFS_LINK() -> SMB_VFS_LINKAT(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jeremy Allison Reviewed-by: Ralph Böhme Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Tue Aug 20 22:26:17 UTC 2019 on sn-devel-184 --- examples/VFS/skel_opaque.c | 9 --------- examples/VFS/skel_transparent.c | 8 -------- 2 files changed, 17 deletions(-) (limited to 'examples') diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 351e0f690cb..8de97e85147 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -473,14 +473,6 @@ static int skel_vfs_readlink(vfs_handle_struct *handle, return -1; } -static int skel_link(vfs_handle_struct *handle, - const struct smb_filename *old_smb_fname, - const struct smb_filename *new_smb_fname) -{ - errno = ENOSYS; - return -1; -} - static int skel_linkat(vfs_handle_struct *handle, files_struct *srcfsp, const struct smb_filename *old_smb_fname, @@ -1097,7 +1089,6 @@ static struct vfs_fn_pointers skel_opaque_fns = { .getlock_fn = skel_getlock, .symlink_fn = skel_symlink, .readlink_fn = skel_vfs_readlink, - .link_fn = skel_link, .linkat_fn = skel_linkat, .mknod_fn = skel_mknod, .realpath_fn = skel_realpath, diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 9b294ec6877..015f72c1549 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -571,13 +571,6 @@ static int skel_vfs_readlink(vfs_handle_struct *handle, return SMB_VFS_NEXT_READLINK(handle, smb_fname, buf, bufsiz); } -static int skel_link(vfs_handle_struct *handle, - const struct smb_filename *old_smb_fname, - const struct smb_filename *new_smb_fname) -{ - return SMB_VFS_NEXT_LINK(handle, old_smb_fname, new_smb_fname); -} - static int skel_linkat(vfs_handle_struct *handle, files_struct *srcfsp, const struct smb_filename *old_smb_fname, @@ -1367,7 +1360,6 @@ static struct vfs_fn_pointers skel_transparent_fns = { .getlock_fn = skel_getlock, .symlink_fn = skel_symlink, .readlink_fn = skel_vfs_readlink, - .link_fn = skel_link, .linkat_fn = skel_linkat, .mknod_fn = skel_mknod, .realpath_fn = skel_realpath, -- cgit v1.2.1