projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d000a1e
)
[NTOSKRNL] UuidMutex -> ExpUuidLock
author
Pierre Schweitzer
<pierre@reactos.org>
Wed, 27 Feb 2019 07:54:48 +0000
(08:54 +0100)
committer
Pierre Schweitzer
<pierre@reactos.org>
Fri, 1 Mar 2019 07:22:47 +0000
(08:22 +0100)
ntoskrnl/ex/uuid.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/ex/uuid.c
b/ntoskrnl/ex/uuid.c
index
cae12d7
..
60103f0
100644
(file)
--- a/
ntoskrnl/ex/uuid.c
+++ b/
ntoskrnl/ex/uuid.c
@@
-32,7
+32,7
@@
/* GLOBALS ****************************************************************/
/* GLOBALS ****************************************************************/
-static FAST_MUTEX
UuidMutex
;
+static FAST_MUTEX
ExpUuidLock
;
static ULARGE_INTEGER UuidLastTime;
static ULONG UuidSequence;
static BOOLEAN UuidSequenceInitialized = FALSE;
static ULARGE_INTEGER UuidLastTime;
static ULONG UuidSequence;
static BOOLEAN UuidSequenceInitialized = FALSE;
@@
-49,7
+49,7
@@
INIT_FUNCTION
NTAPI
ExpInitUuids(VOID)
{
NTAPI
ExpInitUuids(VOID)
{
- ExInitializeFastMutex(&
UuidMutex
);
+ ExInitializeFastMutex(&
ExpUuidLock
);
KeQuerySystemTime((PLARGE_INTEGER)&UuidLastTime);
UuidLastTime.QuadPart += TICKS_15_OCT_1582_TO_1601;
KeQuerySystemTime((PLARGE_INTEGER)&UuidLastTime);
UuidLastTime.QuadPart += TICKS_15_OCT_1582_TO_1601;
@@
-351,7
+351,7
@@
NtAllocateUuids(OUT PULARGE_INTEGER Time,
_SEH2_END;
}
_SEH2_END;
}
- ExAcquireFastMutex(&
UuidMutex
);
+ ExAcquireFastMutex(&
ExpUuidLock
);
if (!UuidSequenceInitialized)
{
if (!UuidSequenceInitialized)
{
@@
-374,7
+374,7
@@
NtAllocateUuids(OUT PULARGE_INTEGER Time,
&UuidSequence);
if (!NT_SUCCESS(Status))
{
&UuidSequence);
if (!NT_SUCCESS(Status))
{
- ExReleaseFastMutex(&
UuidMutex
);
+ ExReleaseFastMutex(&
ExpUuidLock
);
return Status;
}
return Status;
}
@@
-385,7
+385,7
@@
NtAllocateUuids(OUT PULARGE_INTEGER Time,
UuidSequenceChanged = FALSE;
}
UuidSequenceChanged = FALSE;
}
- ExReleaseFastMutex(&
UuidMutex
);
+ ExReleaseFastMutex(&
ExpUuidLock
);
/* Write back UUIDs to caller */
_SEH2_TRY
/* Write back UUIDs to caller */
_SEH2_TRY