Move the uglyness of #ifdef REALPATH_TAKES_NULL into the vfs_default
[kai/samba.git] / source3 / modules / vfs_onefs_shadow_copy.c
index cf84e581713c0151a282650e942bd1f98d41fd09..bcc40f0d9fa00c2ce9bfe01df31d911b529b8f6a 100644 (file)
@@ -471,11 +471,10 @@ onefs_shadow_copy_mknod(vfs_handle_struct *handle, const char *path,
 }
 
 static char *
-onefs_shadow_copy_realpath(vfs_handle_struct *handle, const char *path,
-                          char *resolved_path)
+onefs_shadow_copy_realpath(vfs_handle_struct *handle, const char *path)
 {
        SHADOW_NEXT(REALPATH,
-                   (handle, cpath ?: path, resolved_path),
+                   (handle, cpath ?: path),
                    char *);
 }