[FASTFAT]

Drop a hack that seems no longer needed

svn path=/trunk/; revision=73678
This commit is contained in:
Pierre Schweitzer 2017-02-04 17:52:39 +00:00
parent e2e4314c68
commit e85e97caeb

View file

@ -86,13 +86,7 @@ VfatClose(
IrpContext->Irp->IoStatus.Information = 0;
return STATUS_SUCCESS;
}
#if 0
/* There occurs a dead look at the call to CcRosDeleteFileCache/ObDereferenceObject/VfatClose
in CmLazyCloseThreadMain if VfatClose is execute asynchronous in a worker thread. */
if (!ExAcquireResourceExclusiveLite(&IrpContext->DeviceExt->DirResource, BooleanFlagOn(IrpContext->Flags, IRPCONTEXT_CANWAIT)))
#else
if (!ExAcquireResourceExclusiveLite(&IrpContext->DeviceExt->DirResource, TRUE))
#endif
{
return VfatMarkIrpContextForQueue(IrpContext);
}