mirror of
https://github.com/samba-team/samba.git
synced 2025-10-03 13:44:20 +03:00
s3: VFS: Change SMB_VFS_REALPATH to take and return struct smb_filename * instead of 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>
This commit is contained in:
@@ -331,10 +331,10 @@
|
||||
#define SMB_VFS_NEXT_MKNOD(handle, smb_fname, mode, dev) \
|
||||
smb_vfs_call_mknod((handle)->next, (smb_fname), (mode), (dev))
|
||||
|
||||
#define SMB_VFS_REALPATH(conn, path) \
|
||||
smb_vfs_call_realpath((conn)->vfs_handles, (path))
|
||||
#define SMB_VFS_NEXT_REALPATH(handle, path) \
|
||||
smb_vfs_call_realpath((handle)->next, (path))
|
||||
#define SMB_VFS_REALPATH(conn, ctx, smb_fname) \
|
||||
smb_vfs_call_realpath((conn)->vfs_handles, (ctx), (smb_fname))
|
||||
#define SMB_VFS_NEXT_REALPATH(handle, ctx, smb_fname) \
|
||||
smb_vfs_call_realpath((handle)->next, (ctx), (smb_fname))
|
||||
|
||||
#define SMB_VFS_CHFLAGS(conn, smb_fname, flags) \
|
||||
smb_vfs_call_chflags((conn)->vfs_handles, (smb_fname), (flags))
|
||||
|
Reference in New Issue
Block a user