commit | 9ede7ec273539d7ad6820bdf3f1f2f28433a9fb3 | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Mon Sep 07 10:27:25 2020 +0100 |
committer | Nikita Ioffe <ioffe@google.com> | Tue Sep 08 21:58:43 2020 +0100 |
tree | 626a5210f77f3ea0f87439294a4cafa0d24db49e | |
parent | 01a30c0d2bb3bd024d83e0ae09c3552c9cc0d5c9 [diff] |
Only store result of mount_all that mounted userdata During boot sequence there can be multiple calls to mount_all. For the userspace reboot to correctly remount userdata, we need to store the return code of the one that was responsible in mounting userdata. Test: adb root Test: adb shell setprop init.userspace_reboot.is_supported 1 Test: adb reboot userspace Test: checked dmsg Bug: 166353152 Change-Id: Id0ae15f3bcf65fa54e4e72b76f64716c053af7fb