mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[MOUNTMGR] Fix enumerating drive letter for creating new mountpoint
This is purely a copypasta error fix, which was causing MountMgrNextDriveLetterWorker to fail as no drive letters were enumerated previously. With that set of patches, MountMgr now properly assigns drive letters to new devices!
This commit is contained in:
@@ -610,7 +610,7 @@ MountMgrNextDriveLetterWorker(IN PDEVICE_EXTENSION DeviceExtension,
|
||||
DriveLetterInfo->CurrentDriveLetter <= L'Z';
|
||||
DriveLetterInfo->CurrentDriveLetter++)
|
||||
{
|
||||
NameBuffer[LETTER_POSITION] = DeviceInformation->SuggestedDriveLetter;
|
||||
NameBuffer[LETTER_POSITION] = DriveLetterInfo->CurrentDriveLetter;
|
||||
|
||||
Status = MountMgrCreatePointWorker(DeviceExtension, &SymbolicName, &TargetDeviceName);
|
||||
if (NT_SUCCESS(Status))
|
||||
|
||||
Reference in New Issue
Block a user