mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 01:21:23 +00:00
Revert:
- Fix prototype of FsRtlInitializeLargeMcb and FsRtlInitializeMcb. svn path=/trunk/; revision=11752
This commit is contained in:
parent
f2b2fe0a5d
commit
7af1a71e33
2 changed files with 9 additions and 16 deletions
|
@ -1,6 +1,6 @@
|
||||||
#ifndef __INCLUDE_DDK_FSFUNCS_H
|
#ifndef __INCLUDE_DDK_FSFUNCS_H
|
||||||
#define __INCLUDE_DDK_FSFUNCS_H
|
#define __INCLUDE_DDK_FSFUNCS_H
|
||||||
/* $Id: fsfuncs.h,v 1.29 2004/11/21 16:34:55 navaraf Exp $ */
|
/* $Id: fsfuncs.h,v 1.30 2004/11/21 17:47:22 navaraf Exp $ */
|
||||||
#define FlagOn(x,f) ((x) & (f))
|
#define FlagOn(x,f) ((x) & (f))
|
||||||
|
|
||||||
#include <ntos/fstypes.h>
|
#include <ntos/fstypes.h>
|
||||||
|
@ -336,11 +336,11 @@ FsRtlInitializeFileLock (
|
||||||
);
|
);
|
||||||
|
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
FsRtlInitializeLargeMcb(IN PLARGE_MCB *Mcb,
|
FsRtlInitializeLargeMcb(IN PLARGE_MCB Mcb,
|
||||||
IN POOL_TYPE PoolType);
|
IN POOL_TYPE PoolType);
|
||||||
|
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
FsRtlInitializeMcb (IN PMCB *Mcb,
|
FsRtlInitializeMcb (IN PMCB Mcb,
|
||||||
IN POOL_TYPE PoolType);
|
IN POOL_TYPE PoolType);
|
||||||
|
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: mcb.c,v 1.15 2004/11/21 16:34:56 navaraf Exp $
|
/* $Id: mcb.c,v 1.16 2004/11/21 17:47:22 navaraf Exp $
|
||||||
*
|
*
|
||||||
* reactos/ntoskrnl/fs/mcb.c
|
* reactos/ntoskrnl/fs/mcb.c
|
||||||
*
|
*
|
||||||
|
@ -92,18 +92,11 @@ FsRtlGetNextMcbEntry (IN PMCB Mcb,
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
FsRtlInitializeLargeMcb(IN PLARGE_MCB *Mcb,
|
FsRtlInitializeLargeMcb(IN PLARGE_MCB Mcb,
|
||||||
IN POOL_TYPE PoolType)
|
IN POOL_TYPE PoolType)
|
||||||
{
|
{
|
||||||
PLARGE_MCB NewMcb;
|
|
||||||
NewMcb = ExAllocatePool(PagedPool, sizeof(LARGE_MCB));
|
|
||||||
if (NewMcb != NULL)
|
|
||||||
{
|
|
||||||
ExInitializeFastMutex(&NewMcb->FastMutex);
|
|
||||||
NewMcb->PoolType = PoolType;
|
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
Mcb->PoolType = PoolType;
|
||||||
*Mcb = NewMcb;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -111,10 +104,10 @@ FsRtlInitializeLargeMcb(IN PLARGE_MCB *Mcb,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
FsRtlInitializeMcb (IN PMCB *Mcb,
|
FsRtlInitializeMcb (IN PMCB Mcb,
|
||||||
IN POOL_TYPE PoolType)
|
IN POOL_TYPE PoolType)
|
||||||
{
|
{
|
||||||
FsRtlInitializeLargeMcb((PLARGE_MCB *)Mcb, PoolType);
|
FsRtlInitializeLargeMcb(& Mcb->LargeMcb, PoolType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue