diff options
author | Michael Adam <obnox@samba.org> | 2007-11-06 08:01:31 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2007-12-19 23:07:56 +0100 |
commit | 8e2323e391e312e0f0284c918e2bb8567c035e20 (patch) | |
tree | 1ef9f07a74473e6b7f6c2d46b5ef1107981effed /source3/modules/vfs_gpfs.c | |
parent | a7e15d41c66e811777e52fbfa19df817d8617d5a (diff) | |
download | samba-8e2323e391e312e0f0284c918e2bb8567c035e20.tar.gz samba-8e2323e391e312e0f0284c918e2bb8567c035e20.tar.bz2 samba-8e2323e391e312e0f0284c918e2bb8567c035e20.zip |
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_gpfs.c')
-rw-r--r-- | source3/modules/vfs_gpfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index c207bbfe2d..91d38874b9 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -240,7 +240,7 @@ static NTSTATUS gpfsacl_get_nt_acl_common(files_struct *fsp, if (result > 0) { DEBUG(10, ("retrying with posix acl...\n")); - return get_nt_acl(fsp, security_info, ppdesc); + return posix_fget_nt_acl(fsp, security_info, ppdesc); } /* GPFS ACL was not read, something wrong happened, error code is set in errno */ |