summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/oplock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index 7a442fe85a..a878f36248 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -799,7 +799,7 @@ static void contend_level2_oplocks_begin_default(files_struct *fsp,
wait_before_sending_break();
break_level2_to_none_async(fsp);
} else {
- messaging_send_buf(smbd_messaging_context(),
+ messaging_send_buf(fsp->conn->sconn->msg_ctx,
share_entry->pid,
MSG_SMB_ASYNC_LEVEL2_BREAK,
(uint8 *)msg,