summaryrefslogtreecommitdiff
path: root/examples/VFS/skel_opaque.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2016-03-03 11:54:23 -0800
committerRalph Boehme <slow@samba.org>2016-03-05 09:39:18 +0100
commitd1f26bc43228843f57b1ee23c1690306d6440865 (patch)
treeadadda8ac77ef95fb7ff0bb7be7c7610cfab3932 /examples/VFS/skel_opaque.c
parent9678611d82d518bb16402a827cbf13769a5f0333 (diff)
downloadsamba-d1f26bc43228843f57b1ee23c1690306d6440865.tar.gz
VFS: Modify chown to take a const struct smb_filename * instead of const char *
Preparing to reduce use of lp_posix_pathnames(). Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'examples/VFS/skel_opaque.c')
-rw-r--r--examples/VFS/skel_opaque.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index e7bb645f165..57f5b0921f0 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -382,8 +382,10 @@ static int skel_fchmod(vfs_handle_struct *handle, files_struct *fsp,
return -1;
}
-static int skel_chown(vfs_handle_struct *handle, const char *path,
- uid_t uid, gid_t gid)
+static int skel_chown(vfs_handle_struct *handle,
+ const struct smb_filename *smb_fname,
+ uid_t uid,
+ gid_t gid)
{
errno = ENOSYS;
return -1;