summaryrefslogtreecommitdiff
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2021-05-14 15:26:46 +0100
committerRalph Boehme <slow@samba.org>2021-06-09 13:14:30 +0000
commite59244461f477b01fe3110fcf5d73f2d9962bf4f (patch)
tree3725f369fd17011c4a09cc986af1c88408fe68d8 /source3/smbd/vfs.c
parent5504a5502d5146d38927f17bcda590e86c3427bc (diff)
downloadsamba-e59244461f477b01fe3110fcf5d73f2d9962bf4f.tar.gz
VFS: SMB_VFS_SYS_ACL_GET_FD: Modify api to take additional type param
Modify all implementations (and the definitions) related to SMB_VFS_SYS_ACL_GET_FD to accept additional SMB_ACL_TYPE_T type param. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r--source3/smbd/vfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 958b53fe486..866ad9d2e85 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -2759,10 +2759,11 @@ SMB_ACL_T smb_vfs_call_sys_acl_get_file(struct vfs_handle_struct *handle,
SMB_ACL_T smb_vfs_call_sys_acl_get_fd(struct vfs_handle_struct *handle,
struct files_struct *fsp,
+ SMB_ACL_TYPE_T type,
TALLOC_CTX *mem_ctx)
{
VFS_FIND(sys_acl_get_fd);
- return handle->fns->sys_acl_get_fd_fn(handle, fsp, mem_ctx);
+ return handle->fns->sys_acl_get_fd_fn(handle, fsp, type, mem_ctx);
}
int smb_vfs_call_sys_acl_blob_get_file(struct vfs_handle_struct *handle,