diff options
author | Jeremy Allison <jra@samba.org> | 2019-10-04 14:44:08 -0700 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2019-10-10 06:09:41 +0000 |
commit | 882babe6de7b6410434868294541492181b3b4aa (patch) | |
tree | dbbb699ee39547c2c3f5fbe79c1e7c150d4974f9 /source3/modules | |
parent | b79c7d28738e5e9a33d5f7db9db61116295ac5d5 (diff) | |
download | samba-882babe6de7b6410434868294541492181b3b4aa.tar.gz |
s3: VFS: vfs_ceph: 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_ceph.c | 12 |
1 files changed, 0 insertions, 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 */ |