mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 01:11:03 +08:00
[MOUNTMGR] Volumes with NO_DRIVE_LETTER attribute should not be mounted, not the opposite
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user