From: Jeremy Allison Date: Fri, 4 Oct 2019 22:17:32 +0000 (-0700) Subject: s3: VFS: vfs_streams_depot: Remove rmdir_fn(). No longer used. X-Git-Tag: talloc-2.3.1~399 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ffa09e09e87ff82d0091529230d9122358d70e96;p=thirdparty%2Fsamba.git s3: VFS: vfs_streams_depot: Remove rmdir_fn(). No longer used. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_streams_depot.c b/source3/modules/vfs_streams_depot.c index 0e2bfa9684d..9f3b79992bc 100644 --- a/source3/modules/vfs_streams_depot.c +++ b/source3/modules/vfs_streams_depot.c @@ -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, };