Add none to supported fs type
Test: mount sdcard in recovery on cuttlefish Change-Id: I23b0ce418f8240cfdaa2d560678989067d746de6
This commit is contained in:
parent
ac535f9713
commit
ea1c779067
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue