[ros-diffs] [pschweitzer] 38432: FsRtlInitializeLargeMcb: Initialize fast mutex gate

pschweitzer at svn.reactos.org pschweitzer at svn.reactos.org
Sun Dec 28 21:06:09 CET 2008


Author: pschweitzer
Date: Sun Dec 28 14:06:08 2008
New Revision: 38432

URL: http://svn.reactos.org/svn/reactos?rev=38432&view=rev
Log:
FsRtlInitializeLargeMcb: Initialize fast mutex gate

Modified:
    branches/pierre-fsd/ntoskrnl/fsrtl/largemcb.c

Modified: branches/pierre-fsd/ntoskrnl/fsrtl/largemcb.c
URL: http://svn.reactos.org/svn/reactos/branches/pierre-fsd/ntoskrnl/fsrtl/largemcb.c?rev=38432&r1=38431&r2=38432&view=diff
==============================================================================
--- branches/pierre-fsd/ntoskrnl/fsrtl/largemcb.c [iso-8859-1] (original)
+++ branches/pierre-fsd/ntoskrnl/fsrtl/largemcb.c [iso-8859-1] Sun Dec 28 14:06:08 2008
@@ -130,7 +130,9 @@
                         IN POOL_TYPE PoolType)
 {
     Mcb->FastMutex = ExAllocateFromNPagedLookasideList(&FsRtlFastMutexLookasideList);
+
     ExInitializeFastMutex(Mcb->FastMutex);
+    KeInitializeGate((PKGATE)&(Mcb->FastMutex->Gate));
 
     FsRtlInitializeBaseMcb(&(Mcb->BaseMcb), PoolType);
 }



More information about the Ros-diffs mailing list