From: Jeremy Allison Date: Tue, 8 Jun 2021 20:15:57 +0000 (-0700) Subject: s3: smbd: In get_acl_group_bits(), SMB_VFS_SYS_ACL_GET_FILE() -> SMB_VFS_SYS_ACL_GET_... X-Git-Tag: tevent-0.11.0~619 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9042bdd0dd82d8c1f64c94c660ff53c2ed106de2;p=thirdparty%2Fsamba.git s3: smbd: In get_acl_group_bits(), 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 388e471363b..9a17a598227 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -3980,8 +3980,9 @@ int get_acl_group_bits( connection_struct *conn, SMB_ACL_T posix_acl; int result = -1; - posix_acl = SMB_VFS_SYS_ACL_GET_FILE(conn, smb_fname, - SMB_ACL_TYPE_ACCESS, talloc_tos()); + posix_acl = SMB_VFS_SYS_ACL_GET_FD(smb_fname->fsp, + SMB_ACL_TYPE_ACCESS, + talloc_tos()); if (posix_acl == (SMB_ACL_T)NULL) return -1;