Merge "Fix build for API change to DestroyLogicalPartition()."

This commit is contained in:
David Anderson
2019-07-13 18:02:05 +00:00
committed by Gerrit Code Review

View File

@@ -53,7 +53,7 @@ static bool UnmapPartitionOnDeviceMapper(const std::string& partition_name) {
return true;
}
if (state == DmDeviceState::ACTIVE) {
return DestroyLogicalPartition(partition_name, kMapTimeout);
return DestroyLogicalPartition(partition_name);
}
LOG(ERROR) << "Unknown device mapper state: "
<< static_cast<std::underlying_type_t<DmDeviceState>>(state);