From ea1c779067f3cfbf24e1f73971b53a5bd570d7a0 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Fri, 4 Jan 2019 12:44:55 -0800 Subject: [PATCH] Add none to supported fs type Test: mount sdcard in recovery on cuttlefish Change-Id: I23b0ce418f8240cfdaa2d560678989067d746de6 --- fs_mgr/fs_mgr_roots.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs_mgr/fs_mgr_roots.cpp b/fs_mgr/fs_mgr_roots.cpp index f44ff41d8..32a5d2172 100644 --- a/fs_mgr/fs_mgr_roots.cpp +++ b/fs_mgr/fs_mgr_roots.cpp @@ -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 supported_fs{"ext4", "squashfs", "vfat", "f2fs"}; + static const std::vector 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;