diff options
author | Jeremy Allison <jra@samba.org> | 2017-05-23 15:33:31 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-05-31 22:50:22 +0200 |
commit | 85c8780581e0f2bb0fdb940a865857db68111fbd (patch) | |
tree | d9672a31b0d33a9bc5451c15cf15f61a6fdad62b /examples/VFS | |
parent | 63d2003ecd74b009f484f2af6ad365e754879e13 (diff) | |
download | samba-85c8780581e0f2bb0fdb940a865857db68111fbd.tar.gz |
s3: VFS: Change SMB_VFS_SYS_ACL_DELETE_DEF_FILE to use const struct smb_filename * instead of const char *.
We need to migrate all pathname based VFS calls to use a struct
to finish modernising the VFS with extra timestamp and flags parameters.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'examples/VFS')
-rw-r--r-- | examples/VFS/skel_opaque.c | 2 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index af119f32db1..801012a8965 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -787,7 +787,7 @@ static int skel_sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp, } static int skel_sys_acl_delete_def_file(vfs_handle_struct *handle, - const char *path) + const struct smb_filename *smb_fname) { errno = ENOSYS; return -1; diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index e9745292730..0404a2e11c9 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -923,9 +923,9 @@ static int skel_sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp, } static int skel_sys_acl_delete_def_file(vfs_handle_struct *handle, - const char *path) + const struct smb_filename *smb_fname) { - return SMB_VFS_NEXT_SYS_ACL_DELETE_DEF_FILE(handle, path); + return SMB_VFS_NEXT_SYS_ACL_DELETE_DEF_FILE(handle, smb_fname); } static ssize_t skel_getxattr(vfs_handle_struct *handle, const char *path, |