Merge "If we fail to format a blank partition, try recovery" into nyc-dev
This commit is contained in:
commit
6846d22629
1 changed files with 4 additions and 0 deletions
|
@ -602,6 +602,10 @@ int fs_mgr_mount_all(struct fstab *fstab)
|
|||
/* Let's replay the mount actions. */
|
||||
i = top_idx - 1;
|
||||
continue;
|
||||
} else {
|
||||
ERROR("%s(): Format failed. Suggest recovery...\n", __func__);
|
||||
encryptable = FS_MGR_MNTALL_DEV_NEEDS_RECOVERY;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (mret && mount_errno != EBUSY && mount_errno != EACCES &&
|
||||
|
|
Loading…
Reference in a new issue