Author: pschweitzer Date: Sun Aug 10 03:01:25 2008 New Revision: 35254
URL: http://svn.reactos.org/svn/reactos?rev=35254&view=rev Log: LARGE_MCB is using a FAST_MUTEX
Modified: branches/pierre-fsd/include/ddk/ntifs.h branches/pierre-fsd/ntoskrnl/fsrtl/largemcb.c
Modified: branches/pierre-fsd/include/ddk/ntifs.h URL: http://svn.reactos.org/svn/reactos/branches/pierre-fsd/include/ddk/ntifs.h?r... ============================================================================== --- branches/pierre-fsd/include/ddk/ntifs.h [iso-8859-1] (original) +++ branches/pierre-fsd/include/ddk/ntifs.h [iso-8859-1] Sun Aug 10 03:01:25 2008 @@ -1384,7 +1384,7 @@
typedef struct _LARGE_MCB { - PKGUARDED_MUTEX GuardedMutex; + PFAST_MUTEX FastMutex; BASE_MCB BaseMcb; } LARGE_MCB, *PLARGE_MCB;
Modified: branches/pierre-fsd/ntoskrnl/fsrtl/largemcb.c URL: http://svn.reactos.org/svn/reactos/branches/pierre-fsd/ntoskrnl/fsrtl/largem... ============================================================================== --- branches/pierre-fsd/ntoskrnl/fsrtl/largemcb.c [iso-8859-1] (original) +++ branches/pierre-fsd/ntoskrnl/fsrtl/largemcb.c [iso-8859-1] Sun Aug 10 03:01:25 2008 @@ -220,9 +220,9 @@ ULONG NumberOfRuns;
/* Read the number of runs while holding the MCB lock */ - KeAcquireGuardedMutex(Mcb->GuardedMutex); + ExAcquireFastMutex(Mcb->FastMutex); NumberOfRuns = Mcb->BaseMcb.PairCount; - KeReleaseGuardedMutex(Mcb->GuardedMutex); + ExReleaseFastMutex(Mcb->FastMutex);
/* Return the count */ return NumberOfRuns;