diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-12-13 14:24:58 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-12-13 20:31:10 +0100 |
commit | 6630b20046915d883a1cc1a1e8c8272756c60e6a (patch) | |
tree | e2038b451153ff2d0e8a2ce8051fdb81e932b81f | |
parent | fcc1f5f7f7a5a1f51657c8da90f45142359a01bb (diff) | |
download | samba-6630b20046915d883a1cc1a1e8c8272756c60e6a.tar.gz samba-6630b20046915d883a1cc1a1e8c8272756c60e6a.tar.bz2 samba-6630b20046915d883a1cc1a1e8c8272756c60e6a.zip |
s3:smbd/oplock_onefs: avoid using smbd_messaging_context()
metze
-rw-r--r-- | source3/smbd/oplock_onefs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/oplock_onefs.c b/source3/smbd/oplock_onefs.c index 9e427a3607..615747e92c 100644 --- a/source3/smbd/oplock_onefs.c +++ b/source3/smbd/oplock_onefs.c @@ -309,7 +309,7 @@ static void oplock_break_to_none_handler(uint64_t id) init_share_mode_entry(&sme, cb, FORCE_OPLOCK_BREAK_TO_NONE); share_mode_entry_to_message(msg, &sme); - messaging_send_buf(smbd_messaging_context(), + messaging_send_buf(cb->sconn->msg_ctx, sme.pid, MSG_SMB_ASYNC_LEVEL2_BREAK, (uint8_t *)msg, @@ -346,7 +346,7 @@ static void oplock_break_to_level_two_handler(uint64_t id) init_share_mode_entry(&sme, cb, LEVEL_II_OPLOCK); share_mode_entry_to_message(msg, &sme); - messaging_send_buf(smbd_messaging_context(), + messaging_send_buf(cb->sconn->msg_ctx, sme.pid, MSG_SMB_BREAK_REQUEST, (uint8_t *)msg, |