commit | faf60bb7688cf1730ee65bd85aaf13a7ce3acf78 | [log] [tgz] |
---|---|---|
author | Wei Wang <wvw@google.com> | Mon Oct 23 15:32:03 2017 -0700 |
committer | Wei Wang <wvw@google.com> | Mon Oct 23 16:25:31 2017 -0700 |
tree | 8cf961a297290cf4c2e87e8529c23f3ec7f1b92c | |
parent | b805db7b0693b11d61a7b3848860462ee4512057 [diff] |
init: call umount unconditionally std::all_of is using std::find_if, which means, if any element the given predicate returns false, it stops further iteration and just returns false. std::all_of used in Reboot.cpp will cause umount not to be called on all block devices if some block device returns false in the middle. Bug: 68158923 Test: reboot Change-Id: I43ba6bd0c18018c1ed5fe2b63996552bc51cc67c