s3: VFS: vfs_streams_depot: Remove rmdir_fn(). No longer used.
authorJeremy Allison <jra@samba.org>
Fri, 4 Oct 2019 22:17:32 +0000 (15:17 -0700)
committerRalph Boehme <slow@samba.org>
Thu, 10 Oct 2019 06:09:41 +0000 (06:09 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_streams_depot.c

index 0e2bfa9684de40440ff3f98447e11f3954039035..9f3b79992bc1c5db96a4d25cb779fd1a15d24928 100644 (file)
@@ -839,14 +839,6 @@ static int streams_depot_unlinkat(vfs_handle_struct *handle,
        return ret;
 }
 
-static int streams_depot_rmdir(vfs_handle_struct *handle,
-                               const struct smb_filename *smb_fname)
-{
-       return streams_depot_rmdir_internal(handle,
-                               handle->conn->cwd_fsp,
-                               smb_fname);
-}
-
 static int streams_depot_renameat(vfs_handle_struct *handle,
                                files_struct *srcfsp,
                                const struct smb_filename *smb_fname_src,
@@ -1083,7 +1075,6 @@ static struct vfs_fn_pointers vfs_streams_depot_fns = {
        .stat_fn = streams_depot_stat,
        .lstat_fn = streams_depot_lstat,
        .unlinkat_fn = streams_depot_unlinkat,
-       .rmdir_fn = streams_depot_rmdir,
        .renameat_fn = streams_depot_renameat,
        .streaminfo_fn = streams_depot_streaminfo,
 };