s3: Remove smbd_messaging_context() from reply_to_oplock_break_requests()
authorVolker Lendecke <vl@samba.org>
Sun, 4 Jul 2010 16:34:31 +0000 (18:34 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 5 Jul 2010 09:06:27 +0000 (11:06 +0200)
source3/smbd/oplock.c

index 129f507bbeede8533ae538b6a75a062b84ef198f..7a442fe85adde24a0e61157abd3de6160b826255 100644 (file)
@@ -638,7 +638,7 @@ void reply_to_oplock_break_requests(files_struct *fsp)
 
                share_mode_entry_to_message(msg, e);
 
-               messaging_send_buf(smbd_messaging_context(), e->pid,
+               messaging_send_buf(fsp->conn->sconn->msg_ctx, e->pid,
                                   MSG_SMB_BREAK_RESPONSE,
                                   (uint8 *)msg,
                                   MSG_SMB_SHARE_MODE_ENTRY_SIZE);