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

Commit 98341131 authored by JP Abgrall's avatar JP Abgrall
Browse files

fs_mgr: fix double mounting of partition



When looking for partitions to encrypt, it would setup a tmpfs
onto the mount point. But with multi-type mount points it would
repeat the mount.
This would lead to having and extra tmpfs mounted on /data, as
only one would get removed.

Change-Id: I28f2c2c4955906f1172342ea07e0795d6880986b
Signed-off-by: default avatarJP Abgrall <jpa@google.com>
parent 61be4390
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -364,6 +364,7 @@ int fs_mgr_mount_all(struct fstab *fstab)
                    ++error_count;
                    continue;
                }
                last_ok_mount_point = fstab->recs[j].mount_point;
            }
            encryptable = 1;
        } else {