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

Commit 7859d9c5 authored by Mark Salyzyn's avatar Mark Salyzyn Committed by android-build-merger
Browse files

Merge "fs_mgr: overlayfs: erofs is in staging"

am: 932e7713

Change-Id: If57b0b977b6e25c1eb846b848fff167999bcb543
parents 8f688f5b 932e7713
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -137,9 +137,9 @@ bool fs_mgr_filesystem_has_space(const std::string& mount_point) {

bool fs_mgr_overlayfs_enabled(FstabEntry* entry) {
    // readonly filesystem, can not be mount -o remount,rw
    // if squashfs or if free space is (near) zero making such a remount
    // for squashfs, erofs or if free space is (near) zero making such a remount
    // virtually useless, or if there are shared blocks that prevent remount,rw
    if ("squashfs" == entry->fs_type || !fs_mgr_filesystem_has_space(entry->mount_point)) {
    if (!fs_mgr_filesystem_has_space(entry->mount_point)) {
        return true;
    }
    if (entry->fs_mgr_flags.logical) {