Save the old irql in ExTryToAcquireFastMutex.
authorHartmut Birr <osexpert@googlemail.com>
Sat, 26 Nov 2005 16:08:27 +0000 (16:08 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Sat, 26 Nov 2005 16:08:27 +0000 (16:08 +0000)
svn path=/trunk/; revision=19640

reactos/hal/halx86/generic/fmutex.c
reactos/ntoskrnl/ex/fmutex.c

index 77da8d8..2ada2b4 100644 (file)
@@ -84,6 +84,7 @@ ExTryToAcquireFastMutex(PFAST_MUTEX FastMutex)
     {
         /* We have, set us as owners */
         FastMutex->Owner = KeGetCurrentThread();
     {
         /* We have, set us as owners */
         FastMutex->Owner = KeGetCurrentThread();
+        FastMutex->OldIrql = OldIrql;
         return TRUE;
     }
     else
         return TRUE;
     }
     else
index 689d836..6b229e2 100644 (file)
@@ -191,6 +191,7 @@ ExTryToAcquireFastMutex(PFAST_MUTEX FastMutex)
     {
         /* We have, set us as owners */
         FastMutex->Owner = KeGetCurrentThread();
     {
         /* We have, set us as owners */
         FastMutex->Owner = KeGetCurrentThread();
+        FastMutex->OldIrql = OldIrql;
         return TRUE;
     }
     else
         return TRUE;
     }
     else