mirror of
https://github.com/reactos/reactos.git
synced 2025-05-20 17:45:06 +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,
|
DEVICE_OBJECT,
|
||||||
Queue.ListEntry);
|
Queue.ListEntry);
|
||||||
|
|
||||||
|
/* Go to the next entry */
|
||||||
|
ListEntry = ListEntry->Flink;
|
||||||
|
|
||||||
/* Get the attached device */
|
/* Get the attached device */
|
||||||
DeviceObject = IoGetAttachedDevice(DeviceObject);
|
DeviceObject = IoGetAttachedDevice(DeviceObject);
|
||||||
|
|
||||||
|
@ -400,9 +403,6 @@ IopShutdownBaseFileSystems(IN PLIST_ENTRY ListHead)
|
||||||
|
|
||||||
IopDecrementDeviceObjectRef(DeviceObject, FALSE);
|
IopDecrementDeviceObjectRef(DeviceObject, FALSE);
|
||||||
ObDereferenceObject(DeviceObject);
|
ObDereferenceObject(DeviceObject);
|
||||||
|
|
||||||
/* Go to the next entry */
|
|
||||||
ListEntry = ListEntry->Flink;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue