s3: Pass smb_filename through the set_offline vfs op
[samba.git] / source3 / modules / vfs_default.c
index 6ad538149a899984d67fa552f4498125aab71d79..b7e70a608b0d4a499b8398454efb590df1bfc4e8 100644 (file)
@@ -1634,7 +1634,8 @@ static bool vfswrap_is_offline(struct vfs_handle_struct *handle,
        return (dmapi_file_flags(path) & FILE_ATTRIBUTE_OFFLINE) != 0;
 }
 
-static int vfswrap_set_offline(struct vfs_handle_struct *handle, const char *path)
+static int vfswrap_set_offline(struct vfs_handle_struct *handle,
+                              const struct smb_filename *fname)
 {
        /* We don't know how to set offline bit by default, needs to be overriden in the vfs modules */
 #if defined(ENOTSUP)