summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2019-08-30 14:45:13 -0700
committerJeremy Allison <jra@samba.org>2019-09-03 22:32:30 +0000
commitc5ea3d045af491549346890929ac3dbbce952aeb (patch)
treeab56bd2e65990ca2ea26b9ad0747ed04865d6261 /examples
parentea5a02e811060d674cb8603a30857161c00738df (diff)
downloadsamba-c5ea3d045af491549346890929ac3dbbce952aeb.tar.gz
s3: VFS: Complete the replacement of SMB_VFS_SYMLINK() -> SMB_VFS_SYMLINKAT().
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 Sep 3 22:32:30 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 96661857b4c..5a18268e6f4 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -456,14 +456,6 @@ static bool skel_getlock(vfs_handle_struct *handle, files_struct *fsp,
return false;
}
-static int skel_symlink(vfs_handle_struct *handle,
- const char *link_contents,
- const struct smb_filename *new_smb_fname)
-{
- errno = ENOSYS;
- return -1;
-}
-
static int skel_symlinkat(vfs_handle_struct *handle,
const char *link_contents,
struct files_struct *dirfsp,
@@ -1098,7 +1090,6 @@ static struct vfs_fn_pointers skel_opaque_fns = {
.kernel_flock_fn = skel_kernel_flock,
.linux_setlease_fn = skel_linux_setlease,
.getlock_fn = skel_getlock,
- .symlink_fn = skel_symlink,
.symlinkat_fn = skel_symlinkat,
.readlinkat_fn = skel_vfs_readlinkat,
.linkat_fn = skel_linkat,
diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c
index 493c18a5417..654c0e6ca85 100644
--- a/examples/VFS/skel_transparent.c
+++ b/examples/VFS/skel_transparent.c
@@ -556,13 +556,6 @@ static bool skel_getlock(vfs_handle_struct *handle, files_struct *fsp,
return SMB_VFS_NEXT_GETLOCK(handle, fsp, poffset, pcount, ptype, ppid);
}
-static int skel_symlink(vfs_handle_struct *handle,
- const char *link_contents,
- const struct smb_filename *new_smb_fname)
-{
- return SMB_VFS_NEXT_SYMLINK(handle, link_contents, new_smb_fname);
-}
-
static int skel_symlinkat(vfs_handle_struct *handle,
const char *link_contents,
struct files_struct *dirfsp,
@@ -1379,7 +1372,6 @@ static struct vfs_fn_pointers skel_transparent_fns = {
.kernel_flock_fn = skel_kernel_flock,
.linux_setlease_fn = skel_linux_setlease,
.getlock_fn = skel_getlock,
- .symlink_fn = skel_symlink,
.symlinkat_fn = skel_symlinkat,
.readlinkat_fn = skel_vfs_readlinkat,
.linkat_fn = skel_linkat,