mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
[MOUNTMGR] Volumes with NO_DRIVE_LETTER attribute should not be mounted, not the opposite
This commit is contained in:
parent
d6ef8f97e9
commit
bbfc515eb3
1 changed files with 1 additions and 2 deletions
|
@ -282,8 +282,7 @@ QueryDeviceInformation(IN PUNICODE_STRING SymbolicName,
|
|||
Status = STATUS_SUCCESS;
|
||||
}
|
||||
/* Check if it has a drive letter */
|
||||
else if (!(GptAttributes.GptAttributes &
|
||||
GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER))
|
||||
else if (GptAttributes.GptAttributes & GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER)
|
||||
{
|
||||
*GptDriveLetter = FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue