diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 4 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 8bfc520c8eb..f8f98575f62 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -512,7 +512,9 @@ static int skel_mknod(vfs_handle_struct *handle, return -1; } -static char *skel_realpath(vfs_handle_struct *handle, const char *path) +static struct smb_filename *skel_realpath(vfs_handle_struct *handle, + TALLOC_CTX *ctx, + const struct smb_filename *smb_fname) { errno = ENOSYS; return NULL; diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index a5ba6a9c4d8..29a97852974 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -602,9 +602,11 @@ static int skel_mknod(vfs_handle_struct *handle, return SMB_VFS_NEXT_MKNOD(handle, smb_fname, mode, dev); } -static char *skel_realpath(vfs_handle_struct *handle, const char *path) +static struct smb_filename *skel_realpath(vfs_handle_struct *handle, + TALLOC_CTX *ctx, + const struct smb_filename *smb_fname) { - return SMB_VFS_NEXT_REALPATH(handle, path); + return SMB_VFS_NEXT_REALPATH(handle, ctx, smb_fname); } static int skel_chflags(vfs_handle_struct *handle, |