3 modified files
reactos/include/ddk
diff -u -r1.28 -r1.29
--- fsfuncs.h 11 Sep 2004 14:48:56 -0000 1.28
+++ fsfuncs.h 21 Nov 2004 16:34:55 -0000 1.29
@@ -1,6 +1,6 @@
#ifndef __INCLUDE_DDK_FSFUNCS_H
#define __INCLUDE_DDK_FSFUNCS_H
-/* $Id: fsfuncs.h,v 1.28 2004/09/11 14:48:56 ekohl Exp $ */
+/* $Id: fsfuncs.h,v 1.29 2004/11/21 16:34:55 navaraf Exp $ */
#define FlagOn(x,f) ((x) & (f))
#include <ntos/fstypes.h>
@@ -336,11 +336,11 @@
);
VOID STDCALL
-FsRtlInitializeLargeMcb(IN PLARGE_MCB Mcb,
+FsRtlInitializeLargeMcb(IN PLARGE_MCB *Mcb,
IN POOL_TYPE PoolType);
VOID STDCALL
-FsRtlInitializeMcb (IN PMCB Mcb,
+FsRtlInitializeMcb (IN PMCB *Mcb,
IN POOL_TYPE PoolType);
VOID STDCALL
reactos/ntoskrnl/fs
diff -u -r1.14 -r1.15
--- mcb.c 21 Aug 2004 20:36:38 -0000 1.14
+++ mcb.c 21 Nov 2004 16:34:56 -0000 1.15
@@ -1,4 +1,4 @@
-/* $Id: mcb.c,v 1.14 2004/08/21 20:36:38 tamlin Exp $
+/* $Id: mcb.c,v 1.15 2004/11/21 16:34:56 navaraf Exp $
*
* reactos/ntoskrnl/fs/mcb.c
*
@@ -92,11 +92,18 @@
* @unimplemented
*/
VOID STDCALL
-FsRtlInitializeLargeMcb(IN PLARGE_MCB Mcb,
+FsRtlInitializeLargeMcb(IN PLARGE_MCB *Mcb,
IN POOL_TYPE PoolType)
{
- UNIMPLEMENTED;
- Mcb->PoolType = PoolType;
+ PLARGE_MCB NewMcb;
+ NewMcb = ExAllocatePool(PagedPool, sizeof(LARGE_MCB));
+ if (NewMcb != NULL)
+ {
+ ExInitializeFastMutex(&NewMcb->FastMutex);
+ NewMcb->PoolType = PoolType;
+ UNIMPLEMENTED;
+ }
+ *Mcb = NewMcb;
}
/*
@@ -104,10 +111,10 @@
* @implemented
*/
VOID STDCALL
-FsRtlInitializeMcb (IN PMCB Mcb,
+FsRtlInitializeMcb (IN PMCB *Mcb,
IN POOL_TYPE PoolType)
{
- FsRtlInitializeLargeMcb(& Mcb->LargeMcb, PoolType);
+ FsRtlInitializeLargeMcb((PLARGE_MCB *)Mcb, PoolType);
}
reactos/ntoskrnl
diff -u -r1.200 -r1.201
--- ntoskrnl.def 12 Nov 2004 12:05:27 -0000 1.200
+++ ntoskrnl.def 21 Nov 2004 16:34:57 -0000 1.201
@@ -1,4 +1,4 @@
-; $Id: ntoskrnl.def,v 1.200 2004/11/12 12:05:27 ekohl Exp $
+; $Id: ntoskrnl.def,v 1.201 2004/11/21 16:34:57 navaraf Exp $
;
; reactos/ntoskrnl/ntoskrnl.def
;
@@ -241,7 +241,7 @@
FsRtlLegalAnsiCharacterArray DATA
FsRtlLookupLargeMcbEntry@32
FsRtlLookupLastLargeMcbEntry@12
-FsRtlLookupLastLargeMcbEntryAndInde@16=FsRtlLookupLastLargeMcbEntryAndIndex@16
+FsRtlLookupLastLargeMcbEntryAndIndex@16
FsRtlLookupLastMcbEntry@12
FsRtlLookupMcbEntry@20
FsRtlLookupPerFileObjectContext@12
@@ -282,6 +282,7 @@
FsRtlResetLargeMcb@8
FsRtlSplitLargeMcb@20
FsRtlSyncVolumes@12
+FsRtlTeardownPerStreamContexts@4
FsRtlTruncateLargeMcb@12
FsRtlTruncateMcb@8
FsRtlUninitializeFileLock@4
CVSspam 0.2.8