1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

s3: smbd: directory_has_default_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:20:22 -07:00 committed by Ralph Boehme
parent 9042bdd0dd
commit 23217ced3e

View File

@ -4117,7 +4117,7 @@ static int copy_access_posix_acl(connection_struct *conn,
static bool directory_has_default_posix_acl(connection_struct *conn,
const struct smb_filename *smb_fname)
{
SMB_ACL_T def_acl = SMB_VFS_SYS_ACL_GET_FILE(conn, smb_fname,
SMB_ACL_T def_acl = SMB_VFS_SYS_ACL_GET_FD(smb_fname->fsp,
SMB_ACL_TYPE_DEFAULT,
talloc_tos());
bool has_acl = False;