summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-01-08 17:10:10 +0100
committerAndrew Bartlett <abartlet@samba.org>2013-02-04 12:19:30 +0100
commit18bfcac810bed431d0ca33ad02508fd87df1c626 (patch)
tree32fc0f32b985b525734736870738ade641149a44 /source3/modules
parent5388773d4baf902d8dd70d046cacc5a15fa790d7 (diff)
downloadsamba-18bfcac810bed431d0ca33ad02508fd87df1c626.tar.gz
samba-18bfcac810bed431d0ca33ad02508fd87df1c626.tar.bz2
samba-18bfcac810bed431d0ca33ad02508fd87df1c626.zip
s3:modules use vfs_gpfs_getacl in gpfsacl_get_posix_acl
as preparation to remove gpfs_getacl_alloc() Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_gpfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index b017c661d4..559452e603 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -720,10 +720,10 @@ static SMB_ACL_T gpfsacl_get_posix_acl(const char *path, gpfs_aclType_t type,
struct gpfs_acl *pacl;
SMB_ACL_T result = NULL;
- pacl = gpfs_getacl_alloc(path, type);
+ pacl = vfs_gpfs_getacl(talloc_tos(), path, false, type);
if (pacl == NULL) {
- DEBUG(10, ("gpfs_getacl failed for %s with %s\n",
+ DEBUG(10, ("vfs_gpfs_getacl failed for %s with %s\n",
path, strerror(errno)));
if (errno == 0) {
errno = EINVAL;
@@ -755,7 +755,7 @@ static SMB_ACL_T gpfsacl_get_posix_acl(const char *path, gpfs_aclType_t type,
if (errno != 0) {
TALLOC_FREE(result);
}
- return result;
+ return result;
}
static SMB_ACL_T gpfsacl_sys_acl_get_file(vfs_handle_struct *handle,