1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-23 06:50:21 +03:00

s3:smbd/oplock_onefs: avoid using smbd_messaging_context()

metze
This commit is contained in:
Stefan Metzmacher 2011-12-13 14:24:58 +01:00
parent fcc1f5f7f7
commit 6630b20046

@ -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,