- Ramdisk doesn't seem to work yet, we're not getting properly initialized yet.
authorReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Sun, 20 Jul 2008 04:40:27 +0000 (04:40 +0000)
committerReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Sun, 20 Jul 2008 04:40:27 +0000 (04:40 +0000)
- We end up crashing in CcRosTryToInitialzeFileCache because there is no SectionObjectPointer, and it is assumed this always exists.
- We need to verify if this is truly the case -- in either case, add an ASSERT, since all assumptions should be ASSERTed!

svn path=/trunk/; revision=34603

reactos/ntoskrnl/cc/view.c

index efe8b59..5155b22 100644 (file)
@@ -1213,6 +1213,7 @@ CcTryToInitializeFileCache(PFILE_OBJECT FileObject)
 
    KeAcquireGuardedMutex(&ViewLock);
 
+   ASSERT(FileObject->SectionObjectPointer);
    Bcb = FileObject->SectionObjectPointer->SharedCacheMap;
    if (Bcb == NULL)
    {