diff options
author | David Anderson <dvander@google.com> | 2019-07-13 20:02:05 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-07-13 20:02:05 +0200 |
commit | 4c8e6eae28273c5a2a6f552a094a96ef83e606f6 (patch) | |
tree | e0bd4e9f3fa0c1506883f318c2a9df008e2bed36 /updater | |
parent | Merge "Remove libimgpatch" (diff) | |
parent | Fix build for API change to DestroyLogicalPartition(). (diff) | |
download | android_bootable_recovery-4c8e6eae28273c5a2a6f552a094a96ef83e606f6.tar android_bootable_recovery-4c8e6eae28273c5a2a6f552a094a96ef83e606f6.tar.gz android_bootable_recovery-4c8e6eae28273c5a2a6f552a094a96ef83e606f6.tar.bz2 android_bootable_recovery-4c8e6eae28273c5a2a6f552a094a96ef83e606f6.tar.lz android_bootable_recovery-4c8e6eae28273c5a2a6f552a094a96ef83e606f6.tar.xz android_bootable_recovery-4c8e6eae28273c5a2a6f552a094a96ef83e606f6.tar.zst android_bootable_recovery-4c8e6eae28273c5a2a6f552a094a96ef83e606f6.zip |
Diffstat (limited to 'updater')
-rw-r--r-- | updater/updater_runtime_dynamic_partitions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/updater_runtime_dynamic_partitions.cpp b/updater/updater_runtime_dynamic_partitions.cpp index e9f4c97c9..b084f6592 100644 --- a/updater/updater_runtime_dynamic_partitions.cpp +++ b/updater/updater_runtime_dynamic_partitions.cpp @@ -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); |