[FASTFAT] Properly handle IRPs that can wait and these that cannot.

CORE-14634
This commit is contained in:
Pierre Schweitzer 2018-05-22 21:29:10 +02:00
parent 8c5cf73018
commit b4363068d1
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
3 changed files with 31 additions and 35 deletions

View file

@ -1059,11 +1059,6 @@ VfatCreate(
return STATUS_SUCCESS;
}
if (!BooleanFlagOn(IrpContext->Flags, IRPCONTEXT_CANWAIT))
{
return VfatMarkIrpContextForQueue(IrpContext);
}
IrpContext->Irp->IoStatus.Information = 0;
ExAcquireResourceExclusiveLite(&IrpContext->DeviceExt->DirResource, TRUE);
Status = VfatCreateFile(IrpContext->DeviceObject, IrpContext->Irp);