mirror of
https://github.com/reactos/reactos.git
synced 2025-05-18 16:51:18 +00:00
[NTOS:IO] Fix list enumeration in IopShutdownBaseFileSystems
This commit is contained in:
parent
68490c1613
commit
53f8cbad97
1 changed files with 3 additions and 3 deletions
|
@ -371,6 +371,9 @@ IopShutdownBaseFileSystems(IN PLIST_ENTRY ListHead)
|
|||
DEVICE_OBJECT,
|
||||
Queue.ListEntry);
|
||||
|
||||
/* Go to the next entry */
|
||||
ListEntry = ListEntry->Flink;
|
||||
|
||||
/* Get the attached device */
|
||||
DeviceObject = IoGetAttachedDevice(DeviceObject);
|
||||
|
||||
|
@ -400,9 +403,6 @@ IopShutdownBaseFileSystems(IN PLIST_ENTRY ListHead)
|
|||
|
||||
IopDecrementDeviceObjectRef(DeviceObject, FALSE);
|
||||
ObDereferenceObject(DeviceObject);
|
||||
|
||||
/* Go to the next entry */
|
||||
ListEntry = ListEntry->Flink;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue