From: Ralph Boehme Date: Sun, 13 Dec 2020 08:06:24 +0000 (+0100) Subject: vfs_aixacl: use passed in ACL type in aixacl_sys_acl_set_fd() X-Git-Tag: samba-4.14.0rc1~221 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3363cddc3a754ff52a8acbdc164bec6bed112583;p=thirdparty%2Fsamba.git vfs_aixacl: use passed in ACL type in aixacl_sys_acl_set_fd() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_aixacl.c b/source3/modules/vfs_aixacl.c index e9cc667faf9..149c2f86d15 100644 --- a/source3/modules/vfs_aixacl.c +++ b/source3/modules/vfs_aixacl.c @@ -162,7 +162,7 @@ int aixacl_sys_acl_set_fd(vfs_handle_struct *handle, struct acl *file_acl = NULL; unsigned int rc; - file_acl = aixacl_smb_to_aixacl(SMB_ACL_TYPE_ACCESS, theacl); + file_acl = aixacl_smb_to_aixacl(type, theacl); if (!file_acl) return -1;