summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2019-10-10 14:22:35 -0700
committerJeremy Allison <jra@samba.org>2019-10-15 18:46:37 +0000
commit95a6505e1bcbe89d0d39286668b04b948b1bed4f (patch)
tree891fc35bebd64f95ffb26b58773edfec4aac33a4 /source3/modules
parent48335c1f69076ffa7bdbca99a5025f61148506fd (diff)
downloadsamba-95a6505e1bcbe89d0d39286668b04b948b1bed4f.tar.gz
s3: VFS: vfs_ceph: Remove chown_fn().
No longer used. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_ceph.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/modules/vfs_ceph.c b/source3/modules/vfs_ceph.c
index 6295d032d10..8864b424008 100644
--- a/source3/modules/vfs_ceph.c
+++ b/source3/modules/vfs_ceph.c
@@ -972,18 +972,6 @@ static int cephwrap_fchmod(struct vfs_handle_struct *handle, files_struct *fsp,
WRAP_RETURN(result);
}
-static int cephwrap_chown(struct vfs_handle_struct *handle,
- const struct smb_filename *smb_fname,
- uid_t uid,
- gid_t gid)
-{
- int result;
- DBG_DEBUG("[CEPH] chown(%p, %s, %d, %d)\n", handle, smb_fname->base_name, uid, gid);
- result = ceph_chown(handle->data, smb_fname->base_name, uid, gid);
- DBG_DEBUG("[CEPH] chown(...) = %d\n", result);
- WRAP_RETURN(result);
-}
-
static int cephwrap_fchown(struct vfs_handle_struct *handle, files_struct *fsp, uid_t uid, gid_t gid)
{
int result;
@@ -1455,7 +1443,6 @@ static struct vfs_fn_pointers ceph_fns = {
.unlinkat_fn = cephwrap_unlinkat,
.chmod_fn = cephwrap_chmod,
.fchmod_fn = cephwrap_fchmod,
- .chown_fn = cephwrap_chown,
.fchown_fn = cephwrap_fchown,
.lchown_fn = cephwrap_lchown,
.chdir_fn = cephwrap_chdir,