summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 19:47:45 +0200
committerVolker Lendecke <vl@samba.org>2010-07-05 11:06:29 +0200
commit411412dc65961acf8132ae03a3120c24e8602ef0 (patch)
tree7da6bf692909d1d064137c6bf2be22fbd7a670a3 /source3/smbd
parent8aa3f47dc96b41b1f8b589f55633a774492e253c (diff)
downloadsamba-411412dc65961acf8132ae03a3120c24e8602ef0.tar.gz
samba-411412dc65961acf8132ae03a3120c24e8602ef0.tar.bz2
samba-411412dc65961acf8132ae03a3120c24e8602ef0.zip
s3: Remove smbd_messaging_context() from push_blocking_lock_request_smb2()
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_lock.c b/source3/smbd/smb2_lock.c
index bd0dd21ad0..7a6bace5c7 100644
--- a/source3/smbd/smb2_lock.c
+++ b/source3/smbd/smb2_lock.c
@@ -663,7 +663,7 @@ bool push_blocking_lock_request_smb2( struct byte_range_lock *br_lck,
/* Ensure we'll receive messages when this is unlocked. */
if (!sconn->smb2.locks.blocking_lock_unlock_state) {
- messaging_register(smbd_messaging_context(), NULL,
+ messaging_register(sconn->msg_ctx, NULL,
MSG_SMB_UNLOCK, received_unlock_msg);
sconn->smb2.locks.blocking_lock_unlock_state = true;
}