diff options
author | Jeremy Allison <jra@samba.org> | 2017-05-23 17:35:59 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-05-31 22:50:22 +0200 |
commit | f5dd864606d5e587b85695ea11520df31b353fb8 (patch) | |
tree | 75ef7403f7ee20b056226d80b2cf12d41e861d8e /examples/VFS | |
parent | cea8e57eac2ed7b90a5c5d207bf392ff0546398e (diff) | |
download | samba-f5dd864606d5e587b85695ea11520df31b353fb8.tar.gz |
s3: VFS: Change SMB_VFS_SYS_ACL_BLOB_GET_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 | 6 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index b0be73c9c06..8ecd0bef473 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -757,8 +757,10 @@ static SMB_ACL_T skel_sys_acl_get_fd(vfs_handle_struct *handle, } static int skel_sys_acl_blob_get_file(vfs_handle_struct *handle, - const char *path_p, TALLOC_CTX *mem_ctx, - char **blob_description, DATA_BLOB *blob) + const struct smb_filename *smb_fname, + TALLOC_CTX *mem_ctx, + char **blob_description, + DATA_BLOB *blob) { errno = ENOSYS; return -1; diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index d103695eebf..82d3c37408c 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -895,10 +895,12 @@ static SMB_ACL_T skel_sys_acl_get_fd(vfs_handle_struct *handle, } static int skel_sys_acl_blob_get_file(vfs_handle_struct *handle, - const char *path_p, TALLOC_CTX *mem_ctx, - char **blob_description, DATA_BLOB *blob) + const struct smb_filename *smb_fname, + TALLOC_CTX *mem_ctx, + char **blob_description, + DATA_BLOB *blob) { - return SMB_VFS_NEXT_SYS_ACL_BLOB_GET_FILE(handle, path_p, mem_ctx, + return SMB_VFS_NEXT_SYS_ACL_BLOB_GET_FILE(handle, smb_fname, mem_ctx, blob_description, blob); } |