From 3a93c638944a16b3e2104dbee25cb3668d01deea Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 1 Jul 2019 15:18:58 +0200 Subject: [PATCH] smbd: Remove unused "msg_ctx" from brl_unlock_posix() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/locking/brlock.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index bd2dfa252db..a4e9dfc0bfe 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -1050,8 +1050,7 @@ bool brl_unlock_windows_default(struct messaging_context *msg_ctx, Unlock a range of bytes - POSIX semantics. ****************************************************************************/ -static bool brl_unlock_posix(struct messaging_context *msg_ctx, - struct byte_range_lock *br_lck, +static bool brl_unlock_posix(struct byte_range_lock *br_lck, struct lock_struct *plock) { unsigned int i, count; @@ -1218,7 +1217,7 @@ bool brl_unlock(struct messaging_context *msg_ctx, return SMB_VFS_BRL_UNLOCK_WINDOWS(br_lck->fsp->conn, msg_ctx, br_lck, &lock); } else { - return brl_unlock_posix(msg_ctx, br_lck, &lock); + return brl_unlock_posix(br_lck, &lock); } }