Merge "Fix build for API change to DestroyLogicalPartition()." am: 4c8e6eae28 am: d3d51e5066
am: e203476c67
Change-Id: I15f9dd0b3b06be0c0d0021f3f74ec0772f0bd14b
This commit is contained in:
@@ -53,7 +53,7 @@ static bool UnmapPartitionOnDeviceMapper(const std::string& partition_name) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (state == DmDeviceState::ACTIVE) {
|
if (state == DmDeviceState::ACTIVE) {
|
||||||
return DestroyLogicalPartition(partition_name, kMapTimeout);
|
return DestroyLogicalPartition(partition_name);
|
||||||
}
|
}
|
||||||
LOG(ERROR) << "Unknown device mapper state: "
|
LOG(ERROR) << "Unknown device mapper state: "
|
||||||
<< static_cast<std::underlying_type_t<DmDeviceState>>(state);
|
<< static_cast<std::underlying_type_t<DmDeviceState>>(state);
|
||||||
|
|||||||
Reference in New Issue
Block a user