diff options
Diffstat (limited to 'examples/VFS/skel_opaque.c')
-rw-r--r-- | examples/VFS/skel_opaque.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index c03a42fee04..2695b82ab45 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -351,6 +351,15 @@ static int skel_unlink(vfs_handle_struct *handle, return -1; } +static int skel_unlinkat(vfs_handle_struct *handle, + struct files_struct *dirfsp, + const struct smb_filename *smb_fname, + int flags) +{ + errno = ENOSYS; + return -1; +} + static int skel_chmod(vfs_handle_struct *handle, const struct smb_filename *smb_fname, mode_t mode) @@ -1077,6 +1086,7 @@ static struct vfs_fn_pointers skel_opaque_fns = { .lstat_fn = skel_lstat, .get_alloc_size_fn = skel_get_alloc_size, .unlink_fn = skel_unlink, + .unlinkat_fn = skel_unlinkat, .chmod_fn = skel_chmod, .fchmod_fn = skel_fchmod, .chown_fn = skel_chown, |