diff options
author | Jeremy Allison <jra@samba.org> | 2016-03-10 15:56:51 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-03-14 23:02:10 +0100 |
commit | cb7016594ae67d8f1c0195cf215a5cf1dd12cd9c (patch) | |
tree | f37efe6d41b335cf62da78d17a6a5bbb1748baec /source3/modules/nfs4_acls.c | |
parent | 6d9e7ad3de6541b1434b0798a1162816f4967134 (diff) | |
download | samba-cb7016594ae67d8f1c0195cf215a5cf1dd12cd9c.tar.gz |
s3:smbd:vfs: Change smb_get_nt_acl_nfs4() to take a const struct smb_filename *.
Push the struct further down closer to places that use
lp_posix_pathname() functions.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <rb@sernet.de>
Diffstat (limited to 'source3/modules/nfs4_acls.c')
-rw-r--r-- | source3/modules/nfs4_acls.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c index 26a98b72471..c3c1528962f 100644 --- a/source3/modules/nfs4_acls.c +++ b/source3/modules/nfs4_acls.c @@ -557,7 +557,7 @@ NTSTATUS smb_fget_nt_acl_nfs4(files_struct *fsp, } NTSTATUS smb_get_nt_acl_nfs4(struct connection_struct *conn, - const char *name, + const struct smb_filename *smb_fname, uint32_t security_info, TALLOC_CTX *mem_ctx, struct security_descriptor **ppdesc, @@ -566,9 +566,10 @@ NTSTATUS smb_get_nt_acl_nfs4(struct connection_struct *conn, SMB_STRUCT_STAT sbuf; smbacl4_vfs_params params; - DEBUG(10, ("smb_get_nt_acl_nfs4 invoked for %s\n", name)); + DEBUG(10, ("smb_get_nt_acl_nfs4 invoked for %s\n", + smb_fname->base_name)); - if (smbacl4_GetFileOwner(conn, name, &sbuf)) { + if (smbacl4_GetFileOwner(conn, smb_fname->base_name, &sbuf)) { return map_nt_error_from_unix(errno); } |