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

Commit 3ead1ef3 authored by Tom Cherry's avatar Tom Cherry Committed by android-build-merger
Browse files

Merge "fs_mgr fix flags/fs_mgr_flags mismatch"

am: 5d595da5

Change-Id: I7b9c01008ffa38e45ecfc49a9bb3ee4db4082871
parents bf7eea63 5d595da5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1047,7 +1047,7 @@ int fs_mgr_mount_all(fstab* fstab, int mount_mode) {
        /* Skip mounting the root partition, as it will already have been mounted */
        if (!strcmp(fstab->recs[i].mount_point, "/") ||
            !strcmp(fstab->recs[i].mount_point, "/system")) {
            if ((fstab->recs[i].fs_mgr_flags & MS_RDONLY) != 0) {
            if ((fstab->recs[i].flags & MS_RDONLY) != 0) {
                fs_mgr_set_blk_ro(fstab->recs[i].blk_device);
            }
            continue;