Author: ros-arm-bringup
Date: Sat Jul 19 23:40:27 2008
New Revision: 34603
URL:
http://svn.reactos.org/svn/reactos?rev=34603&view=rev
Log:
- Ramdisk doesn't seem to work yet, we're not getting properly initialized yet.
- 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!
Modified:
trunk/reactos/ntoskrnl/cc/view.c
Modified: trunk/reactos/ntoskrnl/cc/view.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cc/view.c?rev=346…
==============================================================================
--- trunk/reactos/ntoskrnl/cc/view.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/cc/view.c [iso-8859-1] Sat Jul 19 23:40:27 2008
@@ -1213,6 +1213,7 @@
KeAcquireGuardedMutex(&ViewLock);
+ ASSERT(FileObject->SectionObjectPointer);
Bcb = FileObject->SectionObjectPointer->SharedCacheMap;
if (Bcb == NULL)
{