Author: arty
Date: Tue Nov 17 04:31:44 2009
New Revision: 44211
URL:
http://svn.reactos.org/svn/reactos?rev=44211&view=rev
Log:
Somewhat stub. Needed by ntfs.
Modified:
branches/arty-newcc/ntoskrnl/cache/logsup.c
branches/arty-newcc/ntoskrnl/include/internal/newcc.h
Modified: branches/arty-newcc/ntoskrnl/cache/logsup.c
URL:
http://svn.reactos.org/svn/reactos/branches/arty-newcc/ntoskrnl/cache/logsu…
==============================================================================
--- branches/arty-newcc/ntoskrnl/cache/logsup.c [iso-8859-1] (original)
+++ branches/arty-newcc/ntoskrnl/cache/logsup.c [iso-8859-1] Tue Nov 17 04:31:44 2009
@@ -32,8 +32,10 @@
IN PVOID LogHandle,
IN PFLUSH_TO_LSN FlushToLsnRoutine)
{
- UNIMPLEMENTED;
- while (TRUE);
+ PNOCC_CACHE_MAP Map = FileObject->SectionObjectPointer->SharedCacheMap;
+ if (!Map) return;
+ Map->LogHandle = LogHandle;
+ Map->FlushToLsn = FlushToLsnRoutine;
}
LARGE_INTEGER
Modified: branches/arty-newcc/ntoskrnl/include/internal/newcc.h
URL:
http://svn.reactos.org/svn/reactos/branches/arty-newcc/ntoskrnl/include/int…
==============================================================================
--- branches/arty-newcc/ntoskrnl/include/internal/newcc.h [iso-8859-1] (original)
+++ branches/arty-newcc/ntoskrnl/include/internal/newcc.h [iso-8859-1] Tue Nov 17 04:31:44
2009
@@ -134,6 +134,8 @@
CC_FILE_SIZES FileSizes;
CACHE_MANAGER_CALLBACKS Callbacks;
PVOID LazyContext;
+ PVOID LogHandle;
+ PFLUSH_TO_LSN FlushToLsn;
} NOCC_CACHE_MAP, *PNOCC_CACHE_MAP;
VOID