From 23217ced3e611fe3c52277bd1efb09deaecfa382 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 8 Jun 2021 13:20:22 -0700 Subject: [PATCH] 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 --- source3/smbd/posix_acls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;