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

Commit 8f88fe4c authored by Yifan Hong's avatar Yifan Hong Committed by android-build-merger
Browse files

Merge "Add none to supported fs type"

am: 789d905b

Change-Id: I8d1cab2b9454bfb4657116d11dbedcc967718493
parents 8c49bd91 789d905b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ bool EnsurePathMounted(Fstab* fstab, const std::string& path, const std::string&

    const std::string mount_point = mount_pt.empty() ? rec->mount_point : mount_pt;

    static const std::vector<std::string> supported_fs{"ext4", "squashfs", "vfat", "f2fs"};
    static const std::vector<std::string> supported_fs{"ext4", "squashfs", "vfat", "f2fs", "none"};
    if (std::find(supported_fs.begin(), supported_fs.end(), rec->fs_type) == supported_fs.end()) {
        LERROR << "unknown fs_type \"" << rec->fs_type << "\" for " << mount_point;
        return false;