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

Commit adc9a64d authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove space check from overlayfs test" into main

parents 5b775cbe f9befac6
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -194,9 +194,8 @@ static bool fs_mgr_is_read_only_f2fs(const std::string& dev) {

static bool fs_mgr_overlayfs_enabled(FstabEntry* entry) {
    // readonly filesystem, can not be mount -o remount,rw
    // 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 (!fs_mgr_filesystem_has_space(entry->mount_point)) {
    // for squashfs, erofs, or if there are shared blocks that prevent remount,rw
    if (entry->fs_type == "erofs" || entry->fs_type == "squashfs") {
        return true;
    }