]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: acl_common: Change SMB_VFS_GET_NT_ACL() -> SMB_VFS_GET_NT_ACL_AT() in get_nt...
authorJeremy Allison <jra@samba.org>
Tue, 14 Apr 2020 19:48:29 +0000 (12:48 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 7 May 2020 19:27:36 +0000 (19:27 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_acl_common.c

index 81e3e343eb6f7ce40c37690d30d44d1429198466..09332a31579210f1a3fb838460ceadaaf9a700fa 100644 (file)
@@ -824,11 +824,12 @@ NTSTATUS get_nt_acl_common_at(
                                goto fail;
                        }
                } else {
-                       status = SMB_VFS_NEXT_GET_NT_ACL(handle,
-                                                        smb_fname_in,
-                                                        security_info,
-                                                        mem_ctx,
-                                                        &psd);
+                       status = SMB_VFS_NEXT_GET_NT_ACL_AT(handle,
+                                               dirfsp,
+                                               smb_fname_in,
+                                               security_info,
+                                               mem_ctx,
+                                               &psd);
 
                        if (!NT_STATUS_IS_OK(status)) {
                                DBG_DEBUG("get_next_acl for file %s "