variable to enable per-BCB debugging
Modified: trunk/reactos/ntoskrnl/include/internal/cc.h

Modified: trunk/reactos/ntoskrnl/include/internal/cc.h
--- trunk/reactos/ntoskrnl/include/internal/cc.h	2005-08-13 12:46:37 UTC (rev 17364)
+++ trunk/reactos/ntoskrnl/include/internal/cc.h	2005-08-13 13:11:59 UTC (rev 17365)
@@ -13,6 +13,9 @@
     LARGE_INTEGER FileSize;
     KSPIN_LOCK BcbLock;
     ULONG RefCount;
+#if defined(DBG) || defined(KDBG)
+	BOOLEAN Trace; /* enable extra trace output for this BCB and it's cache segments */
+#endif
 } BCB, *PBCB;
 
 typedef struct _CACHE_SEGMENT
@@ -91,7 +94,7 @@
 
 NTSTATUS
 CcRosFreeCacheSegment(
-    PBCB, 
+    PBCB,
     PCACHE_SEGMENT
 );
 
@@ -105,14 +108,14 @@
 
 NTSTATUS
 CcRosUnmapCacheSegment(
-    PBCB Bcb, 
-    ULONG FileOffset, 
+    PBCB Bcb,
+    ULONG FileOffset,
     BOOLEAN NowDirty
 );
 
 PCACHE_SEGMENT
 CcRosLookupCacheSegment(
-    PBCB Bcb, 
+    PBCB Bcb,
     ULONG FileOffset
 );
 
@@ -129,13 +132,13 @@
 
 NTSTATUS
 CcRosMarkDirtyCacheSegment(
-    PBCB Bcb, 
+    PBCB Bcb,
     ULONG FileOffset
 );
 
 NTSTATUS
 CcRosFlushDirtyPages(
-    ULONG Target, 
+    ULONG Target,
     PULONG Count
 );
 
@@ -157,7 +160,7 @@
     BOOLEAN	    Mapped
 );
 
-NTSTATUS 
+NTSTATUS
 STDCALL
 CcRosRequestCacheSegment(
     BCB*		    Bcb,