git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s3: VFS: Change SMB_VFS_SYS_ACL_GET_FILE to use const struct smb_filename * instead...
[samba.git]
/
source3
/
modules
/
vfs_posixacl.c
diff --git
a/source3/modules/vfs_posixacl.c
b/source3/modules/vfs_posixacl.c
index ed8f1bae8f0305f3ec57d85c8241703ad27bebbc..d99f538524c054d8ca0d055a76eabcca59bf1a38 100644
(file)
--- a/
source3/modules/vfs_posixacl.c
+++ b/
source3/modules/vfs_posixacl.c
@@
-34,9
+34,9
@@
static acl_t smb_acl_to_posix(const struct smb_acl_t *acl);
/* public functions - the api */
SMB_ACL_T posixacl_sys_acl_get_file(vfs_handle_struct *handle,
/* public functions - the api */
SMB_ACL_T posixacl_sys_acl_get_file(vfs_handle_struct *handle,
-
const char *path_p
,
-
SMB_ACL_TYPE_T type,
-
TALLOC_CTX *mem_ctx)
+
const struct smb_filename *smb_fname
,
+ SMB_ACL_TYPE_T type,
+ TALLOC_CTX *mem_ctx)
{
struct smb_acl_t *result;
acl_type_t acl_type;
{
struct smb_acl_t *result;
acl_type_t acl_type;
@@
-54,7
+54,7
@@
SMB_ACL_T posixacl_sys_acl_get_file(vfs_handle_struct *handle,
return NULL;
}
return NULL;
}
- acl = acl_get_file(
path_p
, acl_type);
+ acl = acl_get_file(
smb_fname->base_name
, acl_type);
if (acl == NULL) {
return NULL;
if (acl == NULL) {
return NULL;