https://git.reactos.org/?p=reactos.git;a=commitdiff;h=81c88c1029b3569a560b1…
commit 81c88c1029b3569a560b1d32736a03bf0cb05ff5
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Wed Feb 27 08:54:48 2019 +0100
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Fri Mar 1 08:22:47 2019 +0100
[NTOSKRNL] UuidMutex -> ExpUuidLock
---
ntoskrnl/ex/uuid.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/ntoskrnl/ex/uuid.c b/ntoskrnl/ex/uuid.c
index cae12d7bd1..60103f04b4 100644
--- a/ntoskrnl/ex/uuid.c
+++ b/ntoskrnl/ex/uuid.c
@@ -32,7 +32,7 @@
/* GLOBALS ****************************************************************/
-static FAST_MUTEX UuidMutex;
+static FAST_MUTEX ExpUuidLock;
static ULARGE_INTEGER UuidLastTime;
static ULONG UuidSequence;
static BOOLEAN UuidSequenceInitialized = FALSE;
@@ -49,7 +49,7 @@ INIT_FUNCTION
NTAPI
ExpInitUuids(VOID)
{
- ExInitializeFastMutex(&UuidMutex);
+ ExInitializeFastMutex(&ExpUuidLock);
KeQuerySystemTime((PLARGE_INTEGER)&UuidLastTime);
UuidLastTime.QuadPart += TICKS_15_OCT_1582_TO_1601;
@@ -351,7 +351,7 @@ NtAllocateUuids(OUT PULARGE_INTEGER Time,
_SEH2_END;
}
- ExAcquireFastMutex(&UuidMutex);
+ ExAcquireFastMutex(&ExpUuidLock);
if (!UuidSequenceInitialized)
{
@@ -374,7 +374,7 @@ NtAllocateUuids(OUT PULARGE_INTEGER Time,
&UuidSequence);
if (!NT_SUCCESS(Status))
{
- ExReleaseFastMutex(&UuidMutex);
+ ExReleaseFastMutex(&ExpUuidLock);
return Status;
}
@@ -385,7 +385,7 @@ NtAllocateUuids(OUT PULARGE_INTEGER Time,
UuidSequenceChanged = FALSE;
}
- ExReleaseFastMutex(&UuidMutex);
+ ExReleaseFastMutex(&ExpUuidLock);
/* Write back UUIDs to caller */
_SEH2_TRY