1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3: Remove smbd_messaging_context() from push_blocking_lock_request_smb2()

This commit is contained in:
Volker Lendecke 2010-07-04 19:47:45 +02:00
parent 8aa3f47dc9
commit 411412dc65

View File

@ -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;
}