mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +00:00
Removed the fix for flushing modified cache segments in NtShutdownSystem.
svn path=/trunk/; revision=4124
This commit is contained in:
parent
965149e8db
commit
ee641bec75
1 changed files with 0 additions and 6 deletions
|
@ -35,18 +35,12 @@ NtSetSystemPowerState(IN POWER_ACTION SystemAction,
|
|||
NTSTATUS STDCALL
|
||||
NtShutdownSystem(IN SHUTDOWN_ACTION Action)
|
||||
{
|
||||
ULONG Count;
|
||||
if (Action > ShutdownPowerOff)
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
|
||||
IoShutdownRegisteredDevices();
|
||||
CmShutdownRegistry();
|
||||
IoShutdownRegisteredFileSystems();
|
||||
/* FIXME: IoShutdownRegisteredFileSystems should unmount the filesystems and
|
||||
this writes back all modified data. This doesn't work at the moment. */
|
||||
CcRosFlushDirtyPages(0xFFFFFFFF, &Count);
|
||||
CcRosFlushDirtyPages(0xFFFFFFFF, &Count);
|
||||
CcRosFlushDirtyPages(0xFFFFFFFF, &Count);
|
||||
|
||||
PiShutdownProcessManager();
|
||||
MiShutdownMemoryManager();
|
||||
|
|
Loading…
Reference in a new issue