diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 5 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 7dd258f1528..371caef4818 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -489,8 +489,9 @@ static int skel_vfs_readlink(vfs_handle_struct *handle, const char *path, return -1; } -static int skel_link(vfs_handle_struct *handle, const char *oldpath, - const char *newpath) +static int skel_link(vfs_handle_struct *handle, + const struct smb_filename *old_smb_fname, + const struct smb_filename *new_smb_fname) { errno = ENOSYS; return -1; diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 5e66be49d42..bcd4a44e51d 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -581,10 +581,11 @@ static int skel_vfs_readlink(vfs_handle_struct *handle, const char *path, return SMB_VFS_NEXT_READLINK(handle, path, buf, bufsiz); } -static int skel_link(vfs_handle_struct *handle, const char *oldpath, - const char *newpath) +static int skel_link(vfs_handle_struct *handle, + const struct smb_filename *old_smb_fname, + const struct smb_filename *new_smb_fname) { - return SMB_VFS_NEXT_LINK(handle, oldpath, newpath); + return SMB_VFS_NEXT_LINK(handle, old_smb_fname, new_smb_fname); } static int skel_mknod(vfs_handle_struct *handle, |