Merge "Acknowledge the 'nofail' fs_mgr flag and skip the expected failure."

This commit is contained in:
Treehugger Robot 2020-05-06 17:02:43 +00:00 committed by Gerrit Code Review
commit e8acc83d25

View file

@ -242,7 +242,8 @@ static int process_config(VolumeManager* vm, VoldConfigs* configs) {
}
/* Make sure logical partitions have an updated blk_device. */
if (entry.fs_mgr_flags.logical && !fs_mgr_update_logical_partition(&entry)) {
if (entry.fs_mgr_flags.logical && !fs_mgr_update_logical_partition(&entry) &&
!entry.fs_mgr_flags.no_fail) {
PLOG(FATAL) << "could not find logical partition " << entry.blk_device;
}