From f83775d8557587c1aa6db031c0b250455d4d7a6b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 1 Jul 2019 14:55:42 +0200 Subject: vfs: Remove "blocking_lock" from SMB_VFS_BRL_LOCK_WINDOWS Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- examples/VFS/skel_opaque.c | 3 +-- examples/VFS/skel_transparent.c | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'examples') diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 4e4475a11e8..1d4f28d1d28 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -647,8 +647,7 @@ static const char *skel_connectpath(struct vfs_handle_struct *handle, static NTSTATUS skel_brl_lock_windows(struct vfs_handle_struct *handle, struct byte_range_lock *br_lck, - struct lock_struct *plock, - bool blocking_lock) + struct lock_struct *plock) { return NT_STATUS_NOT_IMPLEMENTED; } diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index ac2665ef07b..fd5d2296559 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -818,11 +818,9 @@ static const char *skel_connectpath(struct vfs_handle_struct *handle, static NTSTATUS skel_brl_lock_windows(struct vfs_handle_struct *handle, struct byte_range_lock *br_lck, - struct lock_struct *plock, - bool blocking_lock) + struct lock_struct *plock) { - return SMB_VFS_NEXT_BRL_LOCK_WINDOWS(handle, - br_lck, plock, blocking_lock); + return SMB_VFS_NEXT_BRL_LOCK_WINDOWS(handle, br_lck, plock); } static bool skel_brl_unlock_windows(struct vfs_handle_struct *handle, -- cgit v1.2.1