summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_aixacl2.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-11-06 08:01:31 +0100
committerMichael Adam <obnox@samba.org>2007-12-19 23:07:56 +0100
commit8e2323e391e312e0f0284c918e2bb8567c035e20 (patch)
tree1ef9f07a74473e6b7f6c2d46b5ef1107981effed /source3/modules/vfs_aixacl2.c
parenta7e15d41c66e811777e52fbfa19df817d8617d5a (diff)
downloadsamba-8e2323e391e312e0f0284c918e2bb8567c035e20.tar.gz
Split get_nt_acl() into two functions: fsp- and non-fsp variant.
Replace smbd/posix_acls.c:get_nt_acl() by two funcions: posix_get_nt_acl() and posix_fget_nt_acl(). The first takes a connection struct and a file name instead of a files_struct pointer. This is in preparation of changing the vfs api for SMB_VFS_GET_NT_ACL. Michael (This used to be commit 50c82cc1456736fa634fb656e63555319742f725)
Diffstat (limited to 'source3/modules/vfs_aixacl2.c')
-rw-r--r--source3/modules/vfs_aixacl2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_aixacl2.c b/source3/modules/vfs_aixacl2.c
index 756977df4f3..ab7c75691c4 100644
--- a/source3/modules/vfs_aixacl2.c
+++ b/source3/modules/vfs_aixacl2.c
@@ -170,7 +170,7 @@ static NTSTATUS aixjfs2_get_nt_acl_common(files_struct *fsp,
if (retryPosix)
{
DEBUG(10, ("retrying with posix acl...\n"));
- return get_nt_acl(fsp, security_info, ppdesc);
+ return posix_fget_nt_acl(fsp, security_info, ppdesc);
}
if (result==False)
return NT_STATUS_ACCESS_DENIED;