From 882babe6de7b6410434868294541492181b3b4aa Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 4 Oct 2019 14:44:08 -0700 Subject: [PATCH] s3: VFS: vfs_ceph: Remove rmdir_fn(). No longer used. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- source3/modules/vfs_ceph.c | 12 ------------ 1 file changed, 12 deletions(-) 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 */