reactos/drivers/lib/csq
diff -u -r1.2 -r1.3
--- csq.c 9 Feb 2004 06:59:01 -0000 1.2
+++ csq.c 20 Jun 2004 03:29:29 -0000 1.3
@@ -362,7 +362,8 @@
/*
* If the cancel routine is gone, we're already canceled,
* and are spinning on the queue lock in our own cancel
- * routine. Move on to the next candidate.
+ * routine. Move on to the next candidate. It'll get
+ * removed by the cance routine.
*/
if(!IoSetCancelRoutine(Irp, NULL))
continue;
@@ -374,6 +375,8 @@
if(Context && Context->Type == IO_TYPE_CSQ_IRP_CONTEXT)
Context->Irp = NULL;
+
+ break;
}
Csq->CsqReleaseLock(Csq, Irql);