mirror of
https://github.com/samba-team/samba.git
synced 2025-09-18 09:44:19 +03:00
VFS: Modify opendir to take a const struct smb_filename * instead of const char *
Preparing to reduce use of lp_posix_pathnames().
Uses the same techniques as commit 616d068f0c
(synthetic_smb_fname()) to cope with modules that
modify the incoming pathname.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
committed by
Ralph Boehme
parent
fb4778f4e9
commit
c74ae37fe6
@@ -79,10 +79,10 @@
|
||||
smb_vfs_call_get_dfs_referrals((handle)->next, (r))
|
||||
|
||||
/* Directory operations */
|
||||
#define SMB_VFS_OPENDIR(conn, fname, mask, attr) \
|
||||
smb_vfs_call_opendir((conn)->vfs_handles, (fname), (mask), (attr))
|
||||
#define SMB_VFS_NEXT_OPENDIR(handle, fname, mask, attr) \
|
||||
smb_vfs_call_opendir((handle)->next, (fname), (mask), (attr))
|
||||
#define SMB_VFS_OPENDIR(conn, smb_fname, mask, attr) \
|
||||
smb_vfs_call_opendir((conn)->vfs_handles, (smb_fname), (mask), (attr))
|
||||
#define SMB_VFS_NEXT_OPENDIR(handle, smb_fname, mask, attr) \
|
||||
smb_vfs_call_opendir((handle)->next, (smb_fname), (mask), (attr))
|
||||
|
||||
#define SMB_VFS_FDOPENDIR(fsp, mask, attr) \
|
||||
smb_vfs_call_fdopendir((fsp)->conn->vfs_handles, (fsp), (mask), (attr))
|
||||
|
Reference in New Issue
Block a user