From e85e97caeb99afa468630147fdfd6a027241560d Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sat, 4 Feb 2017 17:52:39 +0000 Subject: [PATCH] [FASTFAT] Drop a hack that seems no longer needed svn path=/trunk/; revision=73678 --- reactos/drivers/filesystems/fastfat/close.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/reactos/drivers/filesystems/fastfat/close.c b/reactos/drivers/filesystems/fastfat/close.c index 938ed2b2b03..a5af6c77c3d 100644 --- a/reactos/drivers/filesystems/fastfat/close.c +++ b/reactos/drivers/filesystems/fastfat/close.c @@ -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); }