Author: cgutman
Date: Thu Jun 2 18:23:30 2011
New Revision: 52066
URL: http://svn.reactos.org/svn/reactos?rev=52066&view=rev
Log:
[NTOSKRNL]
- Fix a bug in device removal which resulted in an IRP_MN_CANCEL_REMOVE_DEVICE request not being sent if the initial IRP_MN_QUERY_REMOVE_DEVICE failed
Modified:
trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c [iso-8859-1] Thu Jun 2 18:23:30 2011
@@ -4153,6 +4153,8 @@
{
DPRINT1("Removal vetoed by failing the query remove request\n");
+ IopCancelRemoveDevice(DeviceObject);
+
return STATUS_UNSUCCESSFUL;
}
Author: rharabien
Date: Thu Jun 2 15:59:57 2011
New Revision: 52064
URL: http://svn.reactos.org/svn/reactos?rev=52064&view=rev
Log:
[NTOSKRNL]
- Reset KdbNumberOfRowsPrinted and KdbNumberOfColsPrinted before reading new command in kernel debugger so if previous command printed nearly full page, new command won't show "Press q to abort" message before processing
Modified:
trunk/reactos/ntoskrnl/kdbg/kdb_cli.c
Modified: trunk/reactos/ntoskrnl/kdbg/kdb_cli.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kdbg/kdb_cli.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/kdbg/kdb_cli.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/kdbg/kdb_cli.c [iso-8859-1] Thu Jun 2 15:59:57 2011
@@ -2701,6 +2701,9 @@
/* Main loop */
do
{
+ /* Reset the number of rows/cols printed */
+ KdbNumberOfRowsPrinted = KdbNumberOfColsPrinted = 0;
+
/* Print the prompt */
KdbpPrint("kdb:> ");