summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2019-10-10 14:25:31 -0700
committerJeremy Allison <jra@samba.org>2019-10-15 18:46:37 +0000
commit3e8f319606b898b803c1368154c87ee41dc2c78b (patch)
tree9bed334a1d3fc0bbb763e98df7bb4f18c4ff8b9d /source3/modules
parent3a853a1d3b5b6c8d82a7887b35fd383bab0c6c1b (diff)
downloadsamba-3e8f319606b898b803c1368154c87ee41dc2c78b.tar.gz
s3: VFS: vfs_glusterfs: 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_glusterfs.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c
index 3e28fcd143f..6d087c0b4d4 100644
--- a/source3/modules/vfs_glusterfs.c
+++ b/source3/modules/vfs_glusterfs.c
@@ -1322,20 +1322,6 @@ static int vfs_gluster_fchmod(struct vfs_handle_struct *handle,
return ret;
}
-static int vfs_gluster_chown(struct vfs_handle_struct *handle,
- const struct smb_filename *smb_fname,
- uid_t uid,
- gid_t gid)
-{
- int ret;
-
- START_PROFILE(syscall_chown);
- ret = glfs_chown(handle->data, smb_fname->base_name, uid, gid);
- END_PROFILE(syscall_chown);
-
- return ret;
-}
-
static int vfs_gluster_fchown(struct vfs_handle_struct *handle,
files_struct *fsp, uid_t uid, gid_t gid)
{
@@ -1918,7 +1904,6 @@ static struct vfs_fn_pointers glusterfs_fns = {
.chmod_fn = vfs_gluster_chmod,
.fchmod_fn = vfs_gluster_fchmod,
- .chown_fn = vfs_gluster_chown,
.fchown_fn = vfs_gluster_fchown,
.lchown_fn = vfs_gluster_lchown,
.chdir_fn = vfs_gluster_chdir,