[NTOSKRNL]
authorCameron Gutman <aicommander@gmail.com>
Wed, 21 Dec 2011 20:19:20 +0000 (20:19 +0000)
committerCameron Gutman <aicommander@gmail.com>
Wed, 21 Dec 2011 20:19:20 +0000 (20:19 +0000)
- Don't wait to flush dirty pages during shutdown
- This is a hack to fix KVM

svn path=/trunk/; revision=54732

reactos/ntoskrnl/po/power.c

index d044330..4950351 100644 (file)
@@ -902,7 +902,7 @@ NtSetSystemPowerState(IN POWER_ACTION SystemAction,
         
 #ifndef NEWCC
         /* Flush dirty cache pages */
         
 #ifndef NEWCC
         /* Flush dirty cache pages */
-        CcRosFlushDirtyPages(-1, &Dummy, TRUE);
+        CcRosFlushDirtyPages(-1, &Dummy, FALSE); //HACK: We really should wait here!
 #else
         Dummy = 0;
 #endif
 #else
         Dummy = 0;
 #endif