Merge "Manually unmount /data_mirror mounts in the right order"

This commit is contained in:
Nikita Ioffe 2020-04-07 17:34:52 +00:00 committed by Gerrit Code Review
commit 9cd3c84dc1
1 changed files with 6 additions and 0 deletions

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