summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/brlock.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index ed15177080e..743360a5a19 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -723,8 +723,7 @@ OR
We must cope with range splits and merges.
****************************************************************************/
-static NTSTATUS brl_lock_posix(struct messaging_context *msg_ctx,
- struct byte_range_lock *br_lck,
+static NTSTATUS brl_lock_posix(struct byte_range_lock *br_lck,
struct lock_struct *plock)
{
unsigned int i, count, posix_count;
@@ -939,7 +938,7 @@ NTSTATUS brl_lock(struct messaging_context *msg_ctx,
ret = SMB_VFS_BRL_LOCK_WINDOWS(
br_lck->fsp->conn, br_lck, &lock);
} else {
- ret = brl_lock_posix(msg_ctx, br_lck, &lock);
+ ret = brl_lock_posix(br_lck, &lock);
}
#if ZERO_ZERO