summaryrefslogtreecommitdiff
path: root/examples/VFS/skel_opaque.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2016-03-03 14:34:57 -0800
committerRalph Boehme <slow@samba.org>2016-03-05 09:39:18 +0100
commit8b4a38b4c94bb3617d0b6444125d9e24f41891cf (patch)
tree8c3eaa4eaa8589aa44c7877215289f0183b8dd86 /examples/VFS/skel_opaque.c
parentd1f26bc43228843f57b1ee23c1690306d6440865 (diff)
downloadsamba-8b4a38b4c94bb3617d0b6444125d9e24f41891cf.tar.gz
VFS: Modify lchown 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 57f5b0921f0..457881dc8be 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -398,8 +398,10 @@ static int skel_fchown(vfs_handle_struct *handle, files_struct *fsp,
return -1;
}
-static int skel_lchown(vfs_handle_struct *handle, const char *path,
- uid_t uid, gid_t gid)
+static int skel_lchown(vfs_handle_struct *handle,
+ const struct smb_filename *smb_fname,
+ uid_t uid,
+ gid_t gid)
{
errno = ENOSYS;
return -1;