summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 18:38:12 +0200
committerVolker Lendecke <vl@samba.org>2010-07-05 11:06:27 +0200
commitfef875f64fcdae094aabe291b9b8849c28324015 (patch)
treea4b36e3de2fe065bc0023e90301d32eb65aff62e /source3/smbd
parent75e16757e3e696f1a2f4e8d438d0634abe327ab0 (diff)
downloadsamba-fef875f64fcdae094aabe291b9b8849c28324015.tar.gz
samba-fef875f64fcdae094aabe291b9b8849c28324015.tar.bz2
samba-fef875f64fcdae094aabe291b9b8849c28324015.zip
s3: Remove smbd_messaging_context() from push_blocking_lock_request()
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/blocking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c
index 5ee8a97175..a06f44f9a8 100644
--- a/source3/smbd/blocking.c
+++ b/source3/smbd/blocking.c
@@ -222,7 +222,7 @@ bool push_blocking_lock_request( struct byte_range_lock *br_lck,
blr->blr_private = NULL;
/* Add a pending lock record for this. */
- status = brl_lock(smbd_messaging_context(),
+ status = brl_lock(req->sconn->msg_ctx,
br_lck,
smblctx,
procid_self(),
@@ -248,7 +248,7 @@ bool push_blocking_lock_request( struct byte_range_lock *br_lck,
/* Ensure we'll receive messages when this is unlocked. */
if (!sconn->smb1.locks.blocking_lock_unlock_state) {
- messaging_register(smbd_messaging_context(), NULL,
+ messaging_register(sconn->msg_ctx, NULL,
MSG_SMB_UNLOCK, received_unlock_msg);
sconn->smb1.locks.blocking_lock_unlock_state = true;
}