diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 9 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 12 |
2 files changed, 14 insertions, 7 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index ea66742d858..7095dbeaefb 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -845,9 +845,12 @@ static int skel_fremovexattr(vfs_handle_struct *handle, return SMB_VFS_NEXT_FREMOVEXATTR(handle, fsp, name); } -static int skel_setxattr(vfs_handle_struct *handle, const char *path, - const char *name, const void *value, size_t size, - int flags) +static int skel_setxattr(vfs_handle_struct *handle, + const struct smb_filename *smb_fname, + const char *name, + const void *value, + size_t size, + int flags) { errno = ENOSYS; return -1; diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index e72edbc04d8..97e61a4bd84 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -974,11 +974,15 @@ static int skel_fremovexattr(vfs_handle_struct *handle, return SMB_VFS_NEXT_FREMOVEXATTR(handle, fsp, name); } -static int skel_setxattr(vfs_handle_struct *handle, const char *path, - const char *name, const void *value, size_t size, - int flags) +static int skel_setxattr(vfs_handle_struct *handle, + const struct smb_filename *smb_fname, + const char *name, + const void *value, + size_t size, + int flags) { - return SMB_VFS_NEXT_SETXATTR(handle, path, name, value, size, flags); + return SMB_VFS_NEXT_SETXATTR(handle, smb_fname, + name, value, size, flags); } static int skel_fsetxattr(vfs_handle_struct *handle, struct files_struct *fsp, |