From: Jeremy Allison Date: Fri, 4 Oct 2019 21:44:08 +0000 (-0700) Subject: s3: VFS: vfs_ceph: Remove rmdir_fn(). No longer used. X-Git-Tag: talloc-2.3.1~407 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=882babe6de7b6410434868294541492181b3b4aa;p=thirdparty%2Fsamba.git s3: VFS: vfs_ceph: Remove rmdir_fn(). No longer used. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_ceph.c b/source3/modules/vfs_ceph.c index 6c21005125e..6295d032d10 100644 --- a/source3/modules/vfs_ceph.c +++ b/source3/modules/vfs_ceph.c @@ -397,17 +397,6 @@ static int cephwrap_mkdirat(struct vfs_handle_struct *handle, return WRAP_RETURN(result); } -static int cephwrap_rmdir(struct vfs_handle_struct *handle, - const struct smb_filename *smb_fname) -{ - int result; - - DBG_DEBUG("[CEPH] rmdir(%p, %s)\n", handle, smb_fname->base_name); - result = ceph_rmdir(handle->data, smb_fname->base_name); - DBG_DEBUG("[CEPH] rmdir(...) = %d\n", result); - WRAP_RETURN(result); -} - static int cephwrap_closedir(struct vfs_handle_struct *handle, DIR *dirp) { int result; @@ -1442,7 +1431,6 @@ static struct vfs_fn_pointers ceph_fns = { .telldir_fn = cephwrap_telldir, .rewind_dir_fn = cephwrap_rewinddir, .mkdirat_fn = cephwrap_mkdirat, - .rmdir_fn = cephwrap_rmdir, .closedir_fn = cephwrap_closedir, /* File operations */