]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: copy_access_posix_acl(), SMB_VFS_SYS_ACL_GET_FILE() -> SMB_VFS_SYS_ACL_GET_...
authorJeremy Allison <jra@samba.org>
Tue, 8 Jun 2021 20:22:02 +0000 (13:22 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 9 Jun 2021 13:14:30 +0000 (13:14 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/posix_acls.c

index 75efc48cee17a568c827bdaa93e3f4bf33923fcd..b0fd8950b70a63305a756b1820efd975853be0a8 100644 (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;