[NTOSKRNL]

Addendum to r68759: don't forget to initialize semaphore.

svn path=/trunk/; revision=68782
This commit is contained in:
Pierre Schweitzer 2015-08-21 11:21:14 +00:00
parent 51832e3b60
commit 08229bbb07

View file

@ -17,6 +17,7 @@
PERESOURCE FsRtlPagingIoResources; PERESOURCE FsRtlPagingIoResources;
ULONG FsRtlPagingIoResourceSelector; ULONG FsRtlPagingIoResourceSelector;
NTSTATUS NTAPI INIT_FUNCTION FsRtlInitializeWorkerThread(VOID); NTSTATUS NTAPI INIT_FUNCTION FsRtlInitializeWorkerThread(VOID);
extern KSEMAPHORE FsRtlpUncSemaphore;
static const UCHAR LegalAnsiCharacterArray[] = static const UCHAR LegalAnsiCharacterArray[] =
{ {
@ -172,6 +173,7 @@ FsRtlInitSystem(VOID)
FsRtlInitializeTunnels(); FsRtlInitializeTunnels();
FsRtlInitializeLargeMcbs(); FsRtlInitializeLargeMcbs();
KeInitializeSemaphore(&FsRtlpUncSemaphore, 1, MAXLONG);
/* Allocate the Resource Buffer */ /* Allocate the Resource Buffer */
FsRtlPagingIoResources = FsRtlAllocatePoolWithTag(NonPagedPool, FsRtlPagingIoResources = FsRtlAllocatePoolWithTag(NonPagedPool,