summaryrefslogtreecommitdiff
path: root/examples/VFS/skel_transparent.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2019-10-04 15:41:21 -0700
committerRalph Boehme <slow@samba.org>2019-10-10 07:26:43 +0000
commit81fbba8f649e4115961eb77462ca450e7a30611e (patch)
tree0dfa71be5fca95f86fd32f5772cb69551629cc05 /examples/VFS/skel_transparent.c
parent5bf96b1f0b61847771aab7be35121a1d5c15554e (diff)
downloadsamba-81fbba8f649e4115961eb77462ca450e7a30611e.tar.gz
s3: VFS: Complete the removal of SMB_VFS_RMDIR()
All users now use SMB_VFS_UNLINKAT(..., AT_REMOVEDIR). Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Thu Oct 10 07:26:43 UTC 2019 on sn-devel-184
Diffstat (limited to 'examples/VFS/skel_transparent.c')
-rw-r--r--examples/VFS/skel_transparent.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c
index 063af8f3aed..c8277017565 100644
--- a/examples/VFS/skel_transparent.c
+++ b/examples/VFS/skel_transparent.c
@@ -175,12 +175,6 @@ static int skel_mkdirat(vfs_handle_struct *handle,
mode);
}
-static int skel_rmdir(vfs_handle_struct *handle,
- const struct smb_filename *smb_fname)
-{
- return SMB_VFS_NEXT_RMDIR(handle, smb_fname);
-}
-
static int skel_closedir(vfs_handle_struct *handle, DIR *dir)
{
return SMB_VFS_NEXT_CLOSEDIR(handle, dir);
@@ -1357,7 +1351,6 @@ static struct vfs_fn_pointers skel_transparent_fns = {
.telldir_fn = skel_telldir,
.rewind_dir_fn = skel_rewind_dir,
.mkdirat_fn = skel_mkdirat,
- .rmdir_fn = skel_rmdir,
.closedir_fn = skel_closedir,
/* File operations */