Author: pschweitzer
Date: Fri Aug 21 11:21:14 2015
New Revision: 68782
URL:
http://svn.reactos.org/svn/reactos?rev=68782&view=rev
Log:
[NTOSKRNL]
Addendum to r68759: don't forget to initialize semaphore.
Modified:
trunk/reactos/ntoskrnl/fsrtl/fsrtlpc.c
Modified: trunk/reactos/ntoskrnl/fsrtl/fsrtlpc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/fsrtlpc.c?r…
==============================================================================
--- trunk/reactos/ntoskrnl/fsrtl/fsrtlpc.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fsrtl/fsrtlpc.c [iso-8859-1] Fri Aug 21 11:21:14 2015
@@ -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 @@
FsRtlInitializeTunnels();
FsRtlInitializeLargeMcbs();
+ KeInitializeSemaphore(&FsRtlpUncSemaphore, 1, MAXLONG);
/* Allocate the Resource Buffer */
FsRtlPagingIoResources = FsRtlAllocatePoolWithTag(NonPagedPool,