mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
fixed a bug in IoCsqRemoveNextIrp (missing break)
svn path=/trunk/; revision=9739
This commit is contained in:
parent
bda771abc0
commit
6993ae4ae2
1 changed files with 4 additions and 1 deletions
|
@ -362,7 +362,8 @@ PIRP NTAPI IoCsqRemoveNextIrp(PIO_CSQ Csq,
|
|||
/*
|
||||
* 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 @@ PIRP NTAPI IoCsqRemoveNextIrp(PIO_CSQ Csq,
|
|||
|
||||
if(Context && Context->Type == IO_TYPE_CSQ_IRP_CONTEXT)
|
||||
Context->Irp = NULL;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
Csq->CsqReleaseLock(Csq, Irql);
|
||||
|
|
Loading…
Reference in a new issue