From 08229bbb07b2c398954988ef267bbee3109d1aa3 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Fri, 21 Aug 2015 11:21:14 +0000 Subject: [PATCH] [NTOSKRNL] Addendum to r68759: don't forget to initialize semaphore. svn path=/trunk/; revision=68782 --- reactos/ntoskrnl/fsrtl/fsrtlpc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/ntoskrnl/fsrtl/fsrtlpc.c b/reactos/ntoskrnl/fsrtl/fsrtlpc.c index 63897b88904..17f7f70c1c9 100644 --- a/reactos/ntoskrnl/fsrtl/fsrtlpc.c +++ b/reactos/ntoskrnl/fsrtl/fsrtlpc.c @@ -17,6 +17,7 @@ PERESOURCE FsRtlPagingIoResources; ULONG FsRtlPagingIoResourceSelector; NTSTATUS NTAPI INIT_FUNCTION FsRtlInitializeWorkerThread(VOID); +extern KSEMAPHORE FsRtlpUncSemaphore; static const UCHAR LegalAnsiCharacterArray[] = { @@ -172,6 +173,7 @@ FsRtlInitSystem(VOID) FsRtlInitializeTunnels(); FsRtlInitializeLargeMcbs(); + KeInitializeSemaphore(&FsRtlpUncSemaphore, 1, MAXLONG); /* Allocate the Resource Buffer */ FsRtlPagingIoResources = FsRtlAllocatePoolWithTag(NonPagedPool,