Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a680e261 authored by Nikita Ioffe's avatar Nikita Ioffe
Browse files

Manually unmount /data_mirror mounts in the right order

Test: atest CtsUserspaceRebootHostSideTestCases
Bug: 152823078
Change-Id: I57ff9182807630d8cbcf3ca6374fdd6dc6379da5
Merged-In: I57ff9182807630d8cbcf3ca6374fdd6dc6379da5
(cherry picked from commit bf66f433)
parent 7facdac6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1062,6 +1062,12 @@ on userspace-reboot-fs-remount
  start vold
  exec - system system -- /system/bin/vdc checkpoint resetCheckpoint
  exec - system system -- /system/bin/vdc checkpoint markBootAttempt
  # Unmount /data_mirror mounts in the reverse order of corresponding mounts.
  umount /data_mirror/data_ce/null/0
  umount /data_mirror/data_ce/null
  umount /data_mirror/data_de/null
  umount /data_mirror/cur_profiles
  umount /data_mirror
  remount_userdata
  start bootanim