From: Jeremy Allison Date: Tue, 8 Jun 2021 20:20:22 +0000 (-0700) Subject: s3: smbd: directory_has_default_posix_acl(), SMB_VFS_SYS_ACL_GET_FILE() -> SMB_VFS_SY... X-Git-Tag: tevent-0.11.0~618 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23217ced3e611fe3c52277bd1efb09deaecfa382;p=thirdparty%2Fsamba.git s3: smbd: directory_has_default_posix_acl(), SMB_VFS_SYS_ACL_GET_FILE() -> SMB_VFS_SYS_ACL_GET_FD(). Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index 9a17a598227..75efc48cee1 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -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;