diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-04 18:40:57 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-05 11:06:28 +0200 |
commit | eb29f84b5f83306be68804d9edd9be8c1922fa9b (patch) | |
tree | 63282cbc8ac05d23ba8b89fd2f1b3bdf7f98a876 /source3 | |
parent | dd48e0afe06087622483605f472f382f5448dd70 (diff) | |
download | samba-eb29f84b5f83306be68804d9edd9be8c1922fa9b.tar.gz samba-eb29f84b5f83306be68804d9edd9be8c1922fa9b.tar.bz2 samba-eb29f84b5f83306be68804d9edd9be8c1922fa9b.zip |
s3: Remove smbd_messaging_context() from blocking_lock_cancel_smb1()
Diffstat (limited to 'source3')
-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 164a078fc9..7b04cde495 100644 --- a/source3/smbd/blocking.c +++ b/source3/smbd/blocking.c @@ -865,7 +865,7 @@ struct blocking_lock_record *blocking_lock_cancel_smb1(files_struct *fsp, if (!sconn->smb1.locks.blocking_lock_cancel_state) { /* Register our message. */ - messaging_register(smbd_messaging_context(), NULL, + messaging_register(sconn->msg_ctx, NULL, MSG_SMB_BLOCKING_LOCK_CANCEL, process_blocking_lock_cancel_message); @@ -901,7 +901,7 @@ struct blocking_lock_record *blocking_lock_cancel_smb1(files_struct *fsp, memcpy(msg, &blr, sizeof(blr)); memcpy(&msg[sizeof(blr)], &err, sizeof(NTSTATUS)); - messaging_send_buf(smbd_messaging_context(), procid_self(), + messaging_send_buf(sconn->msg_ctx, procid_self(), MSG_SMB_BLOCKING_LOCK_CANCEL, (uint8 *)&msg, sizeof(msg)); |