Manually unmount /data_mirror mounts in the right order

Test: atest CtsUserspaceRebootHostSideTestCases
Bug: 152823078
Change-Id: I57ff9182807630d8cbcf3ca6374fdd6dc6379da5
This commit is contained in:
Nikita Ioffe 2020-04-07 00:26:15 +01:00
parent 74429fc121
commit bf66f433d6

View file

@ -1063,6 +1063,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