mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 16:36:11 +00:00
[NTOSKRNL]
- Revert 48546. The code was correct, and there is more of same code in other places which firstly cancels the IRP and then moves to the next entry. The actual bug is somewhere else. See issue #5550 for more details. svn path=/trunk/; revision=48551
This commit is contained in:
parent
fd24107d7d
commit
a81b1fdd76
|
@ -1047,12 +1047,14 @@ IoCancelThreadIo(IN PETHREAD Thread)
|
|||
NextEntry = ListHead->Flink;
|
||||
while (ListHead != NextEntry)
|
||||
{
|
||||
/* Get the IRP and move to the next entry */
|
||||
/* Get the IRP */
|
||||
Irp = CONTAINING_RECORD(NextEntry, IRP, ThreadListEntry);
|
||||
NextEntry = NextEntry->Flink;
|
||||
|
||||
/* Cancel it */
|
||||
IoCancelIrp(Irp);
|
||||
|
||||
/* Move to the next entry */
|
||||
NextEntry = NextEntry->Flink;
|
||||
}
|
||||
|
||||
/* Wait 100 milliseconds */
|
||||
|
|
Loading…
Reference in a new issue