Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 654174e2 authored by Matthew Bouyack's avatar Matthew Bouyack Committed by android-build-merger
Browse files

Merge "If we fail to format a blank partition, try recovery" into nyc-dev

am: 6846d226

* commit '6846d226':
  If we fail to format a blank partition, try recovery

Change-Id: Ic56fccb65c171d4f21527bc78a7b4eb76edcb348
parents 204d3a56 6846d226
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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 &&