mirror of
https://github.com/reactos/reactos.git
synced 2026-06-06 21:51:53 +08:00
[NTOSKRNL] When looping again in ObpLookupEntryDirectory, properly init root entry
This fixes looking in global directory for DOS drives that are globally mounted (such as C: drive) CORE-16114
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user