Author: pschweitzer Date: Sat Feb 4 17:52:39 2017 New Revision: 73678 URL: http://svn.reactos.org/svn/reactos?rev=73678&view=rev Log: [FASTFAT] Drop a hack that seems no longer needed
Modified: trunk/reactos/drivers/filesystems/fastfat/close.c Modified: trunk/reactos/drivers/filesystems/fastfat/close.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfat/close.c?rev=73678&r1=73677&r2=73678&view=diff ============================================================================== --- trunk/reactos/drivers/filesystems/fastfat/close.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/fastfat/close.c [iso-8859-1] Sat Feb 4 17:52:39 2017 @@ -86,13 +86,7 @@ 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); }