diff options
author | Jeremy Allison <jra@samba.org> | 2017-06-30 13:37:03 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-07-01 07:20:28 +0200 |
commit | 51c1a2a45861c725f756f60ca05e6d1fa4ca34c6 (patch) | |
tree | 638186f129456040eb0bd33fc133acf6dc435177 /source3/include/vfs_macros.h | |
parent | a665ed4eea92adba91195f8096c93a2dfd31dbe4 (diff) | |
download | samba-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/include/vfs_macros.h')
-rw-r--r-- | source3/include/vfs_macros.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/vfs_macros.h b/source3/include/vfs_macros.h index 0e8245e752d..4365f15b3d1 100644 --- a/source3/include/vfs_macros.h +++ b/source3/include/vfs_macros.h @@ -356,10 +356,10 @@ #define SMB_VFS_NEXT_GET_REAL_FILENAME(handle, path, name, mem_ctx, found_name) \ smb_vfs_call_get_real_filename((handle)->next, (path), (name), (mem_ctx), (found_name)) -#define SMB_VFS_CONNECTPATH(conn, fname) \ - smb_vfs_call_connectpath((conn)->vfs_handles, (fname)) -#define SMB_VFS_NEXT_CONNECTPATH(conn, fname) \ - smb_vfs_call_connectpath((conn)->next, (fname)) +#define SMB_VFS_CONNECTPATH(conn, smb_fname) \ + smb_vfs_call_connectpath((conn)->vfs_handles, (smb_fname)) +#define SMB_VFS_NEXT_CONNECTPATH(conn, smb_fname) \ + smb_vfs_call_connectpath((conn)->next, (smb_fname)) #define SMB_VFS_BRL_LOCK_WINDOWS(conn, br_lck, plock, blocking_lock) \ smb_vfs_call_brl_lock_windows((conn)->vfs_handles, (br_lck), (plock), (blocking_lock)) |