projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51832e3
)
[NTOSKRNL]
author
Pierre Schweitzer
<pierre@reactos.org>
Fri, 21 Aug 2015 11:21:14 +0000
(11:21 +0000)
committer
Pierre Schweitzer
<pierre@reactos.org>
Fri, 21 Aug 2015 11:21:14 +0000
(11:21 +0000)
Addendum to r68759: don't forget to initialize semaphore.
svn path=/trunk/; revision=68782
reactos/ntoskrnl/fsrtl/fsrtlpc.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/fsrtl/fsrtlpc.c
b/reactos/ntoskrnl/fsrtl/fsrtlpc.c
index
63897b8
..
17f7f70
100644
(file)
--- 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,