diff options
author | Volker Lendecke <vl@samba.org> | 2010-10-03 17:35:52 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-10-03 18:17:09 +0200 |
commit | c0eb35c0a245f6f9e8ca430b3ad4d3435d365761 (patch) | |
tree | f2717c19b86a8fdc3f59670a5dd3a17c858a1377 /source3/smbd | |
parent | db607331d353dc43e1a7cb11e7af0ce7e38faf9a (diff) | |
download | samba-c0eb35c0a245f6f9e8ca430b3ad4d3435d365761.tar.gz samba-c0eb35c0a245f6f9e8ca430b3ad4d3435d365761.tar.bz2 samba-c0eb35c0a245f6f9e8ca430b3ad4d3435d365761.zip |
s3: Remove smbd_server_conn from smb1 receive_unlock_msg
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/blocking.c | 10 |
1 files changed, 9 insertions, 1 deletions
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); } /**************************************************************************** |