diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-04 18:38:12 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-05 11:06:27 +0200 |
commit | fef875f64fcdae094aabe291b9b8849c28324015 (patch) | |
tree | a4b36e3de2fe065bc0023e90301d32eb65aff62e | |
parent | 75e16757e3e696f1a2f4e8d438d0634abe327ab0 (diff) | |
download | samba-fef875f64fcdae094aabe291b9b8849c28324015.tar.gz samba-fef875f64fcdae094aabe291b9b8849c28324015.tar.bz2 samba-fef875f64fcdae094aabe291b9b8849c28324015.zip |
s3: Remove smbd_messaging_context() from push_blocking_lock_request()
-rw-r--r-- | source3/smbd/blocking.c | 4 |
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; } |