mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3: Remove smbd_server_conn from smb2 receive_unlock_msg
This commit is contained in:
parent
554f5e7c60
commit
898f7c9603
@ -454,8 +454,16 @@ static void received_unlock_msg(struct messaging_context *msg,
|
||||
struct server_id server_id,
|
||||
DATA_BLOB *data)
|
||||
{
|
||||
struct smbd_server_connection *sconn;
|
||||
|
||||
DEBUG(10,("received_unlock_msg (SMB2)\n"));
|
||||
process_blocking_lock_queue_smb2(smbd_server_conn, timeval_current());
|
||||
|
||||
sconn = msg_ctx_to_sconn(msg);
|
||||
if (sconn == NULL) {
|
||||
DEBUG(1, ("could not find sconn\n"));
|
||||
return;
|
||||
}
|
||||
process_blocking_lock_queue_smb2(sconn, timeval_current());
|
||||
}
|
||||
|
||||
/****************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user