mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
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>
This commit is contained in:
parent
b79c7d2873
commit
882babe6de
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user