mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 15:41:37 +00: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:
parent
222ace7c6c
commit
4fd223729b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue