From 52fa46b090116cdb529ccd957d16e5a4ccf416c6 Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Sun, 27 Apr 2003 16:25:25 +0000 Subject: [PATCH] FsRtlNumberOfRunsInLargeMcb() implemented (simple). svn path=/trunk/; revision=4600 --- reactos/ntoskrnl/fs/mcb.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/reactos/ntoskrnl/fs/mcb.c b/reactos/ntoskrnl/fs/mcb.c index 220272bcc3b..58327ff571e 100644 --- a/reactos/ntoskrnl/fs/mcb.c +++ b/reactos/ntoskrnl/fs/mcb.c @@ -1,4 +1,4 @@ -/* $Id: mcb.c,v 1.8 2003/04/20 17:59:18 ea Exp $ +/* $Id: mcb.c,v 1.9 2003/04/27 16:25:25 ea Exp $ * * reactos/ntoskrnl/fs/mcb.c * @@ -144,8 +144,11 @@ FsRtlLookupMcbEntry (IN PMCB Mcb, ULONG STDCALL FsRtlNumberOfRunsInLargeMcb(IN PLARGE_MCB Mcb) { - UNIMPLEMENTED - return(0); + ULONG NumberOfRuns; + ExAcquireFastMutex (Mcb->FastMutex); + NumberOfRuns=Mcb->PairCount; + ExReleaseFastMutex (Mcb->FastMutex); + return(NumberOfRuns); } -- 2.17.1