mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[PARTMGR] Mark partitions as removable if device is removable
CORE-17392
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user