File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -383,6 +383,11 @@ void PostinstallRunnerAction::CompletePostinstall(ErrorCode error_code) {
383
383
}
384
384
}
385
385
386
+ auto dynamic_control = boot_control_->GetDynamicPartitionControl ();
387
+ CHECK (dynamic_control);
388
+ dynamic_control->UnmapAllPartitions ();
389
+ LOG (INFO) << " Unmapped all partitions." ;
390
+
386
391
ScopedActionCompleter completer (processor_, this );
387
392
completer.set_code (error_code);
388
393
@@ -401,10 +406,6 @@ void PostinstallRunnerAction::CompletePostinstall(ErrorCode error_code) {
401
406
if (HasOutputPipe ()) {
402
407
SetOutputObject (install_plan_);
403
408
}
404
- auto dynamic_control = boot_control_->GetDynamicPartitionControl ();
405
- CHECK (dynamic_control);
406
- dynamic_control->UnmapAllPartitions ();
407
- LOG (INFO) << " Unmapped all partitions." ;
408
409
}
409
410
410
411
void PostinstallRunnerAction::SuspendAction () {
Original file line number Diff line number Diff line change 14
14
// limitations under the License.
15
15
//
16
16
17
+ #ifndef UPDATE_ENGINE_SNAPSHOT_EXTENT_WRITER_H_
18
+ #define UPDATE_ENGINE_SNAPSHOT_EXTENT_WRITER_H_
19
+
17
20
#include < cstdint>
18
21
#include < vector>
19
22
@@ -52,3 +55,5 @@ class SnapshotExtentWriter : public chromeos_update_engine::ExtentWriter {
52
55
};
53
56
54
57
} // namespace chromeos_update_engine
58
+
59
+ #endif
You can’t perform that action at this time.
0 commit comments