1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

smbd: Remove unused "msg_ctx" from brl_unlock_posix()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2019-07-01 15:18:58 +02:00 committed by Jeremy Allison
parent 4d75c0aa53
commit 3a93c63894

View File

@ -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);
}
}