mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[PARTMGR] Mark partitions as removable if device is removable
CORE-17392
This commit is contained in:
parent
3a323c3de0
commit
06fc9c43ed
1 changed files with 4 additions and 0 deletions
|
@ -269,6 +269,10 @@ PartMgrUpdatePartitionDevices(
|
|||
continue;
|
||||
}
|
||||
|
||||
// mark partition as removable if parent device is removable
|
||||
if (FdoExtension->LowerDevice->Characteristics & FILE_REMOVABLE_MEDIA)
|
||||
partitionDevice->Characteristics |= FILE_REMOVABLE_MEDIA;
|
||||
|
||||
totalPartitions++;
|
||||
|
||||
// insert the structure to the partition list
|
||||
|
|
Loading…
Reference in a new issue