X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=blobdiff_plain;f=source3%2Fmodules%2Fvfs_onefs_shadow_copy.c;h=3eca664c8ab393175920d7a1b8d72afe08cccad7;hp=45860fa90d3b0ecd8e5a109eecc24977eb3c16d0;hb=2ccd50122058df1fb5da0ab4d30085bb4ef5e867;hpb=358ccc3282681b3df0ba76fecc114ad4376c8ff1 diff --git a/source3/modules/vfs_onefs_shadow_copy.c b/source3/modules/vfs_onefs_shadow_copy.c index 45860fa90d3..3eca664c8ab 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