s3: Remove smbd_messaging_context() from send_break_message()
authorVolker Lendecke <vl@samba.org>
Sun, 4 Jul 2010 16:28:04 +0000 (18:28 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 5 Jul 2010 09:06:26 +0000 (11:06 +0200)
source3/smbd/open.c

index 4fc464d8abdb119c28ea55057b92cf706813d2f8..e0fcfb967963f6ad418239c208a46a25d117d32c 100644 (file)
@@ -913,7 +913,7 @@ static NTSTATUS send_break_message(files_struct *fsp,
                        exclusive->op_type | FORCE_OPLOCK_BREAK_TO_NONE);
        }
 
-       status = messaging_send_buf(smbd_messaging_context(), exclusive->pid,
+       status = messaging_send_buf(fsp->conn->sconn->msg_ctx, exclusive->pid,
                                    MSG_SMB_BREAK_REQUEST,
                                    (uint8 *)msg,
                                    MSG_SMB_SHARE_MODE_ENTRY_SIZE);