diff options
author | Christof Schmitt <cs@samba.org> | 2021-09-20 14:57:07 -0700 |
---|---|---|
committer | Christof Schmitt <cs@samba.org> | 2021-09-21 18:47:38 +0000 |
commit | 0ae59ffc4992821e6242f0a21235bf7514d94786 (patch) | |
tree | 57e79b86a293d4bcffe94e30aed699e13a738bb6 /examples | |
parent | a2578d9b5642f639cf7016b43e71957478213b76 (diff) | |
download | samba-0ae59ffc4992821e6242f0a21235bf7514d94786.tar.gz |
examples/VFS/skel_opaque: Rename kernel_flock to filesystem_sharemode
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 8ea05f46d94..f393332c681 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -428,9 +428,10 @@ static bool skel_lock(vfs_handle_struct *handle, files_struct *fsp, int op, return false; } -static int skel_kernel_flock(struct vfs_handle_struct *handle, - struct files_struct *fsp, - uint32_t share_mode, uint32_t access_mask) +static int skel_filesystem_sharemode(struct vfs_handle_struct *handle, + struct files_struct *fsp, + uint32_t share_mode, + uint32_t access_mask) { errno = ENOSYS; return -1; @@ -1009,7 +1010,7 @@ static struct vfs_fn_pointers skel_opaque_fns = { .ftruncate_fn = skel_ftruncate, .fallocate_fn = skel_fallocate, .lock_fn = skel_lock, - .filesystem_sharemode_fn = skel_kernel_flock, + .filesystem_sharemode_fn = skel_filesystem_sharemode, .fcntl_fn = skel_fcntl, .linux_setlease_fn = skel_linux_setlease, .getlock_fn = skel_getlock, |