summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2019-10-04 14:01:55 -0700
committerRalph Boehme <slow@samba.org>2019-10-10 06:09:40 +0000
commit44f9adc155fc59836580e1d9bc4820d547082fbd (patch)
tree9eee5a9286d97fab9e8b0b4711a531abc76b004e /source3/modules
parent305f2b8d01c5e9ecaa599372f75656169e777c7f (diff)
downloadsamba-44f9adc155fc59836580e1d9bc4820d547082fbd.tar.gz
s3: VFS: vfs_unityed_media: Remove rmdir_fn. No longer used.
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_unityed_media.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/source3/modules/vfs_unityed_media.c b/source3/modules/vfs_unityed_media.c
index 7ea02d41c89..48ff7e0d5d0 100644
--- a/source3/modules/vfs_unityed_media.c
+++ b/source3/modules/vfs_unityed_media.c
@@ -822,34 +822,6 @@ err:
return status;
}
-static int um_rmdir(vfs_handle_struct *handle,
- const struct smb_filename *smb_fname)
-{
- int status;
- const char *path = smb_fname->base_name;
- struct smb_filename *client_fname = NULL;
-
- DEBUG(10, ("Entering with path '%s'\n", path));
-
- if (!is_in_media_files(path)) {
- return SMB_VFS_NEXT_RMDIR(handle, smb_fname);
- }
-
- status = alloc_get_client_smb_fname(handle,
- talloc_tos(),
- smb_fname,
- &client_fname);
- if (status != 0) {
- goto err;
- }
-
- status = SMB_VFS_NEXT_RMDIR(handle, client_fname);
-err:
- TALLOC_FREE(client_fname);
- DEBUG(10, ("Leaving with path '%s'\n", path));
- return status;
-}
-
static int um_closedir(vfs_handle_struct *handle,
DIR *dirp)
{
@@ -1932,7 +1904,6 @@ static struct vfs_fn_pointers vfs_um_fns = {
.telldir_fn = um_telldir,
.rewind_dir_fn = um_rewinddir,
.mkdirat_fn = um_mkdirat,
- .rmdir_fn = um_rmdir,
.closedir_fn = um_closedir,
/* File operations */