Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Acknowledge the 'nofail' fs_mgr flag and skip the expected failure.
fs_mgr supports 'nofail' flag, which is used if we do not want to error-out incase the mounting/setup fails for a partition tagged with nofail flag in fstab. Recently added code in vold misses this handling, i.e. it aborts even for a nofail partition upon encountering an expected failure. Test: Add a non-existing logical partition fstab entry with 'nofail' flag. Init's first stage mount acks this and doesn't crash. Vold aborts (as it doesn't handle it), and device doesn't boot. With this change, device boots up. Change-Id: I2b1904a9c648c31bcc05b2e7e77480db236ff66e
- Loading branch information