Loading fs_mgr/fs_mgr_roots.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -101,7 +101,9 @@ bool EnsurePathMounted(Fstab* fstab, const std::string& path, const std::string& } } auto mounted = GetMountState(rec->mount_point); const std::string mount_point = mount_pt.empty() ? rec->mount_point : mount_pt; auto mounted = GetMountState(mount_point); if (mounted == MountState::ERROR) { return false; } Loading @@ -109,8 +111,6 @@ bool EnsurePathMounted(Fstab* fstab, const std::string& path, const std::string& return true; } 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", "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; Loading Loading
fs_mgr/fs_mgr_roots.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -101,7 +101,9 @@ bool EnsurePathMounted(Fstab* fstab, const std::string& path, const std::string& } } auto mounted = GetMountState(rec->mount_point); const std::string mount_point = mount_pt.empty() ? rec->mount_point : mount_pt; auto mounted = GetMountState(mount_point); if (mounted == MountState::ERROR) { return false; } Loading @@ -109,8 +111,6 @@ bool EnsurePathMounted(Fstab* fstab, const std::string& path, const std::string& return true; } 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", "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; Loading