diff options
author | Volker Lendecke <vl@samba.org> | 2019-07-01 15:13:59 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-07-02 17:01:27 +0000 |
commit | 5a89031cf878055659e82f4def743ee38efa9665 (patch) | |
tree | ae1a5a9a2dec5f9978555d4655c87dbeb9246e43 /source3/locking | |
parent | a045b9b1f37177253a38c348f0d428fe2fdcf607 (diff) | |
download | samba-5a89031cf878055659e82f4def743ee38efa9665.tar.gz |
smbd: Remove unused "msg_ctx" from brl_lock_posix
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/brlock.c | 5 |
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 |