From 2ccd50122058df1fb5da0ab4d30085bb4ef5e867 Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Thu, 25 Jun 2009 11:20:36 -0700 Subject: s3 onefs: Plumb smb_filename through onefs createfile path --- source3/modules/vfs_onefs_shadow_copy.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'source3/modules/vfs_onefs_shadow_copy.c') diff --git a/source3/modules/vfs_onefs_shadow_copy.c b/source3/modules/vfs_onefs_shadow_copy.c index 45860fa90d..3eca664c8a 100644 --- a/source3/modules/vfs_onefs_shadow_copy.c +++ b/source3/modules/vfs_onefs_shadow_copy.c @@ -278,21 +278,21 @@ onefs_shadow_copy_rename(vfs_handle_struct *handle, const char *old_name, } static int -onefs_shadow_copy_stat(vfs_handle_struct *handle, const char *path, - SMB_STRUCT_STAT *sbuf) +onefs_shadow_copy_stat(vfs_handle_struct *handle, + struct smb_filename *smb_fname) { - SHADOW_NEXT(STAT, - (handle, cpath ?: path, sbuf), - int); + SHADOW_NEXT_SMB_FNAME(STAT, + (handle, smb_fname), + int); } static int -onefs_shadow_copy_lstat(vfs_handle_struct *handle, const char *path, - SMB_STRUCT_STAT *sbuf) +onefs_shadow_copy_lstat(vfs_handle_struct *handle, + struct smb_filename *smb_fname) { - SHADOW_NEXT(LSTAT, - (handle, cpath ?: path, sbuf), - int); + SHADOW_NEXT_SMB_FNAME(LSTAT, + (handle, smb_fname), + int); } static int -- cgit