summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_full_audit.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2017-06-30 13:37:03 -0700
committerJeremy Allison <jra@samba.org>2017-07-01 07:20:28 +0200
commit51c1a2a45861c725f756f60ca05e6d1fa4ca34c6 (patch)
tree638186f129456040eb0bd33fc133acf6dc435177 /source3/modules/vfs_full_audit.c
parenta665ed4eea92adba91195f8096c93a2dfd31dbe4 (diff)
downloadsamba-51c1a2a45861c725f756f60ca05e6d1fa4ca34c6.tar.gz
s3: VFS: Change SMB_VFS_CONNECTPATH to take const struct smb_filename * instead of const char *.
We need to migrate all pathname based VFS calls to use a struct to finish modernising the VFS with extra timestamp and flags parameters. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Jul 1 07:20:28 CEST 2017 on sn-devel-144
Diffstat (limited to 'source3/modules/vfs_full_audit.c')
-rw-r--r--source3/modules/vfs_full_audit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c
index e66ad9ebe43..215cb1f3934 100644
--- a/source3/modules/vfs_full_audit.c
+++ b/source3/modules/vfs_full_audit.c
@@ -1766,14 +1766,14 @@ static int smb_full_audit_get_real_filename(struct vfs_handle_struct *handle,
}
static const char *smb_full_audit_connectpath(vfs_handle_struct *handle,
- const char *fname)
+ const struct smb_filename *smb_fname)
{
const char *result;
- result = SMB_VFS_NEXT_CONNECTPATH(handle, fname);
+ result = SMB_VFS_NEXT_CONNECTPATH(handle, smb_fname);
do_log(SMB_VFS_OP_CONNECTPATH, result != NULL, handle,
- "%s", fname);
+ "%s", smb_fname->base_name);
return result;
}