[FASTFAT]
authorThomas Faber <thomas.faber@reactos.org>
Wed, 5 Nov 2014 18:52:11 +0000 (18:52 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Wed, 5 Nov 2014 18:52:11 +0000 (18:52 +0000)
- 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

svn path=/trunk/; revision=65269

reactos/drivers/filesystems/fastfat/cleanup.c

index 8bc68b8..f9bde77 100644 (file)
@@ -92,7 +92,6 @@ VfatCleanupFile(
                 pFcb->FileObject = NULL;
                 CcUninitializeCacheMap(tmpFileObject, NULL, NULL);
                 ObDereferenceObject(tmpFileObject);
-                vfatReleaseFCB(IrpContext->DeviceExt, pFcb);
             }
 
             CcPurgeCacheSection(FileObject->SectionObjectPointer, NULL, 0, FALSE);