Author: tfaber
Date: Wed Nov  5 18:52:11 2014
New Revision: 65269

URL: http://svn.reactos.org/svn/reactos?rev=65269&view=rev
Log:
[FASTFAT]
- VfatCleanupFile: do not dereference the FCB when closing the volume file 
object. ObDereferenceObject already causes an IRP_MJ_CLOSE request to be sent, 
which dereferences the FCB.
CORE-8733 #resolve

Modified:
    trunk/reactos/drivers/filesystems/fastfat/cleanup.c

Modified: trunk/reactos/drivers/filesystems/fastfat/cleanup.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfat/cleanup.c?rev=65269&r1=65268&r2=65269&view=diff
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/cleanup.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/cleanup.c [iso-8859-1] Wed Nov  5 
18:52:11 2014
@@ -92,7 +92,6 @@
                 pFcb->FileObject = NULL;
                 CcUninitializeCacheMap(tmpFileObject, NULL, NULL);
                 ObDereferenceObject(tmpFileObject);
-                vfatReleaseFCB(IrpContext->DeviceExt, pFcb);
             }
 
             CcPurgeCacheSection(FileObject->SectionObjectPointer, NULL, 0, 
FALSE);


Reply via email to