unmapping super devices: do not remove ramdisk mountpoints
Change-Id: Iabd543e914887af78813805141604ae0ca1c812d
This commit is contained in:
@@ -3578,7 +3578,6 @@ bool TWPartitionManager::Unmap_Super_Devices() {
|
||||
LOGINFO("removing cow partition: %s\n", cow_partition.c_str());
|
||||
destroyed = DestroyLogicalPartition(cow_partition);
|
||||
}
|
||||
rmdir((*iter)->Mount_Point.c_str());
|
||||
iter = Partitions.erase(iter);
|
||||
delete part;
|
||||
if (!destroyed) {
|
||||
|
||||
Reference in New Issue
Block a user