mirror of
https://github.com/reactos/reactos.git
synced 2025-07-03 05:41:21 +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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// mark partition as removable if parent device is removable
|
||||||
|
if (FdoExtension->LowerDevice->Characteristics & FILE_REMOVABLE_MEDIA)
|
||||||
|
partitionDevice->Characteristics |= FILE_REMOVABLE_MEDIA;
|
||||||
|
|
||||||
totalPartitions++;
|
totalPartitions++;
|
||||||
|
|
||||||
// insert the structure to the partition list
|
// insert the structure to the partition list
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue