summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2019-08-16 16:40:37 -0700
committerJeremy Allison <jra@samba.org>2019-08-20 22:26:17 +0000
commitf42642e54e560f8a6328cbc035b0bbcfdffcf728 (patch)
tree34ef0a508ddbcc9eb1c5e5739ee033c0ac9204cd /examples
parentfb75a3d5e98e2ae3210f4fc68f0fabbc27f09c18 (diff)
downloadsamba-f42642e54e560f8a6328cbc035b0bbcfdffcf728.tar.gz
s3: VFS: Complete the replacement of SMB_VFS_LINK() -> SMB_VFS_LINKAT().
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Aug 20 22:26:17 UTC 2019 on sn-devel-184
Diffstat (limited to 'examples')
-rw-r--r--examples/VFS/skel_opaque.c9
-rw-r--r--examples/VFS/skel_transparent.c8
2 files changed, 0 insertions, 17 deletions
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,