mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[NTOS]
- Nikolay Myltsev: Fix incorrect balancer thread id check. See issue #5857 for more details. svn path=/trunk/; revision=54528
This commit is contained in:
@@ -216,8 +216,8 @@ MmRebalanceMemoryConsumers(VOID)
|
||||
static BOOLEAN
|
||||
MiIsBalancerThread(VOID)
|
||||
{
|
||||
return MiBalancerThreadHandle != NULL &&
|
||||
PsGetCurrentThread() == MiBalancerThreadId.UniqueThread;
|
||||
return (MiBalancerThreadHandle != NULL) &&
|
||||
(PsGetCurrentThreadId() == MiBalancerThreadId.UniqueThread);
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
|
||||
Reference in New Issue
Block a user