[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:
Aleksey Bragin 2010-08-15 08:48:03 +00:00
parent fd24107d7d
commit a81b1fdd76

View file

@ -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 */