1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

s3: smbd: copy_access_posix_acl(), SMB_VFS_SYS_ACL_GET_FILE() -> SMB_VFS_SYS_ACL_GET_FD().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2021-06-08 13:22:02 -07:00 committed by Ralph Boehme
parent 23217ced3e
commit 5f3599fab0

View File

@ -4093,7 +4093,7 @@ static int copy_access_posix_acl(connection_struct *conn,
SMB_ACL_T posix_acl = NULL;
int ret = -1;
if ((posix_acl = SMB_VFS_SYS_ACL_GET_FILE(conn, smb_fname_from,
if ((posix_acl = SMB_VFS_SYS_ACL_GET_FD(smb_fname_from->fsp,
SMB_ACL_TYPE_ACCESS,
talloc_tos())) == NULL)
return -1;