diff options
author | Jeremy Allison <jra@samba.org> | 2019-10-10 14:22:35 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-10-15 18:46:37 +0000 |
commit | 95a6505e1bcbe89d0d39286668b04b948b1bed4f (patch) | |
tree | 891fc35bebd64f95ffb26b58773edfec4aac33a4 | |
parent | 48335c1f69076ffa7bdbca99a5025f61148506fd (diff) | |
download | samba-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>
-rw-r--r-- | source3/modules/vfs_ceph.c | 13 |
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, |