From c0eb35c0a245f6f9e8ca430b3ad4d3435d365761 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 3 Oct 2010 17:35:52 +0200 Subject: s3: Remove smbd_server_conn from smb1 receive_unlock_msg --- source3/smbd/blocking.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c index 7a73ea9cca..bc4d06404f 100644 --- a/source3/smbd/blocking.c +++ b/source3/smbd/blocking.c @@ -702,8 +702,16 @@ static void received_unlock_msg(struct messaging_context *msg, struct server_id server_id, DATA_BLOB *data) { + struct smbd_server_connection *sconn; + + sconn = msg_ctx_to_sconn(msg); + if (sconn == NULL) { + DEBUG(1, ("could not find sconn\n")); + return; + } + DEBUG(10,("received_unlock_msg\n")); - process_blocking_lock_queue(smbd_server_conn); + process_blocking_lock_queue(sconn); } /**************************************************************************** -- cgit