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

Commit 6ec9b912 authored by Alessandro Astone's avatar Alessandro Astone
Browse files

fs_mgr: skip setting rootfs block as ro during mount_all in recovery

Change-Id: I418aa8480828671cfc04aedf0d88daf1eb3c1e96
parent 226d851d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1128,9 +1128,11 @@ int fs_mgr_mount_all(Fstab* fstab, int mount_mode) {

        // Skip mounting the root partition, as it will already have been mounted.
        if (current_entry.mount_point == "/" || current_entry.mount_point == "/system") {
#ifndef SKIP_SET_BLK_RO
            if ((current_entry.flags & MS_RDONLY) != 0) {
                fs_mgr_set_blk_ro(current_entry.blk_device);
            }
#endif
            continue;
        }