s3: Pass smb_filename through the is_offline vfs op
[kai/samba.git] / source3 / modules / vfs_onefs_shadow_copy.c
index bcc40f0d9fa00c2ce9bfe01df31d911b529b8f6a..a6681c0ab4f2936cfee46cf1ee9670f4111f1adf 100644 (file)
@@ -634,8 +634,10 @@ onefs_shadow_copy_lsetxattr(vfs_handle_struct *handle, const char *path,
 
 static bool
 onefs_shadow_copy_is_offline(struct vfs_handle_struct *handle,
-                            const char *path, SMB_STRUCT_STAT *sbuf)
+                            const struct smb_fname *fname,
+                            SMB_STRUCT_STAT *sbuf)
 {
+#error Isilon, please convert "char *path" to "struct smb_fname *fname"
        SHADOW_NEXT(IS_OFFLINE,
                    (handle, cpath ?: path, sbuf),
                    bool);