aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Marshall <tdm@cyngn.com>2015-12-01 11:45:37 -0800
committerTom Marshall <tdm@cyngn.com>2015-12-01 11:45:37 -0800
commite023d79fba5a51296c81514c99c477c876c8c2fc (patch)
treec3702e5e98b5238510923a428d3bc5e13841e124
parent8e8aebdc3c42b7dd2795b215fb09b807f0f2b0a5 (diff)
downloadbootable_recovery-e023d79fba5a51296c81514c99c477c876c8c2fc.zip
bootable_recovery-e023d79fba5a51296c81514c99c477c876c8c2fc.tar.gz
bootable_recovery-e023d79fba5a51296c81514c99c477c876c8c2fc.tar.bz2
recovery: Fix mounting f2fs partitions
Change-Id: I9d94b611ab9a873b6b57a6d22bf78de131e3c8e5
-rw-r--r--roots.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/roots.cpp b/roots.cpp
index 3c51c35..ceafed9 100644
--- a/roots.cpp
+++ b/roots.cpp
@@ -224,6 +224,7 @@ int ensure_path_mounted_at(const char* path, const char* mount_point, bool force
}
return mtd_mount_partition(partition, mount_point, v->fs_type, 0);
} else if (strcmp(v->fs_type, "ext4") == 0 ||
+ strcmp(v->fs_type, "f2fs") == 0 ||
strcmp(v->fs_type, "squashfs") == 0 ||
strcmp(v->fs_type, "vfat") == 0) {
unsigned long mntflags = v->flags;