projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
222ace7
)
[NTOSKRNL] When looping again in ObpLookupEntryDirectory, properly init root entry
author
Pierre Schweitzer
<pierre@reactos.org>
Tue, 25 Jun 2019 20:09:54 +0000
(22:09 +0200)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sun, 30 Jun 2019 21:07:54 +0000
(23:07 +0200)
This fixes looking in global directory for DOS drives that are globally mounted
(such as C: drive)
CORE-16114
ntoskrnl/ob/obdir.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/ob/obdir.c
b/ntoskrnl/ob/obdir.c
index
83d05d4
..
1c7b457
100644
(file)
--- a/
ntoskrnl/ob/obdir.c
+++ b/
ntoskrnl/ob/obdir.c
@@
-214,11
+214,11
@@
ObpLookupEntryDirectory(IN POBJECT_DIRECTORY Directory,
Context->HashValue = HashValue;
Context->HashIndex = (USHORT)HashIndex;
+DoItAgain:
/* Get the root entry and set it as our lookup bucket */
AllocatedEntry = &Directory->HashBuckets[HashIndex];
LookupBucket = AllocatedEntry;
-DoItAgain:
/* Check if the directory is already locked */
if (!Context->DirectoryLocked)
{