sys: FSP_DEVICE_REJECT_EARLY_IRP macro

This commit is contained in:
Bill Zissimopoulos
2020-02-07 13:22:09 -08:00
parent 0901fb6477
commit 8497855d80
4 changed files with 15 additions and 0 deletions

View File

@ -284,8 +284,10 @@ static NTSTATUS FspFsvolCreateNoLock(
return STATUS_SUCCESS;
}
#if defined(FSP_DEVICE_REJECT_EARLY_IRP)
if (!FspFsvolDeviceReadyToAcceptIrp(FsvolDeviceObject))
return STATUS_CANCELLED;
#endif
PACCESS_STATE AccessState = IrpSp->Parameters.Create.SecurityContext->AccessState;
ULONG CreateDisposition = (IrpSp->Parameters.Create.Options >> 24) & 0xff;