From b658cc77dfaa4fed96bbd7947e0f17cf7daba049 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 21 Dec 2011 20:19:20 +0000 Subject: [PATCH] [NTOSKRNL] - 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/po/power.c b/reactos/ntoskrnl/po/power.c index d0443305e97..49503519ca9 100644 --- a/reactos/ntoskrnl/po/power.c +++ b/reactos/ntoskrnl/po/power.c @@ -902,7 +902,7 @@ NtSetSystemPowerState(IN POWER_ACTION SystemAction, #ifndef NEWCC /* Flush dirty cache pages */ - CcRosFlushDirtyPages(-1, &Dummy, TRUE); + CcRosFlushDirtyPages(-1, &Dummy, FALSE); //HACK: We really should wait here! #else Dummy = 0; #endif