From a63f1e84a0685462e73a1b8f1201386653594cdc Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Wed, 25 Nov 2015 12:20:24 -0800 Subject: [PATCH] sys: WIP --- src/sys/driver.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/sys/driver.h b/src/sys/driver.h index 7e85e332..91d50c66 100644 --- a/src/sys/driver.h +++ b/src/sys/driver.h @@ -90,7 +90,11 @@ FSP_FSVRT_DEVICE_EXTENSION *FsvrtDeviceExtension =\ FspFsvrtDeviceExtension(FsvolDeviceExtension->FsvrtDeviceObject);\ if (!FspIoqPostIrp(&FsvrtDeviceExtension->Ioq, Irp))\ - FspCompleteRequest(Irp, STATUS_ACCESS_DENIED);\ + { \ + /* this can only happen if the Ioq was stopped */\ + ASSERT(FspIoqStopped(&FsvrtDeviceExtension->Ioq));\ + FspCompleteRequest(Irp, STATUS_ACCESS_DENIED);\ + } \ } \ } \ else \