s3 onefs: Fix the onefs modules after the big refactoring
[kai/samba.git] / source3 / modules / vfs_onefs_shadow_copy.c
index b8febdc4264f018d6ba7318abb976978eae989b7..c733392d2774732e215d9789136abd9e660c2c15 100644 (file)
@@ -397,7 +397,7 @@ onefs_shadow_copy_ntimes(vfs_handle_struct *handle,
 /**
  * XXX: macro-ize
  */
-static bool
+static int
 onefs_shadow_copy_symlink(vfs_handle_struct *handle,
     const char *oldpath, const char *newpath)
 {
@@ -671,7 +671,7 @@ static struct vfs_fn_pointers onefs_shadow_copy_fns = {
        .chdir = onefs_shadow_copy_chdir,
        .ntimes = onefs_shadow_copy_ntimes,
        .symlink = onefs_shadow_copy_symlink,
-       .readlink = onefs_shadow_copy_readlink,
+       .vfs_readlink = onefs_shadow_copy_readlink,
        .link = onefs_shadow_copy_link,
        .mknod = onefs_shadow_copy_mknod,
        .realpath = onefs_shadow_copy_realpath,