Add a sanity check

svn path=/trunk/; revision=69487
This commit is contained in:
Pierre Schweitzer
2015-10-10 14:01:01 +00:00
parent 2972d67975
commit 7e1a5245cd
+5 -1
View File
@@ -353,8 +353,12 @@ IoCsqRemoveIrp(
Context = (PIO_CSQ_IRP_CONTEXT)InterlockedExchangePointer(&Irp->Tail.Overlay.DriverContext[3], NULL);
if(Context && Context->Type == IO_TYPE_CSQ_IRP_CONTEXT)
if (Context && Context->Type == IO_TYPE_CSQ_IRP_CONTEXT)
{
Context->Irp = NULL;
ASSERT(Context->Csq == Csq);
}
}
while(0);