as preparation to remove gpfs_getacl_alloc()
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
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;
if (errno != 0) {
TALLOC_FREE(result);
}
- return result;
+ return result;
}
static SMB_ACL_T gpfsacl_sys_acl_get_file(vfs_handle_struct *handle,