fstools: support for ext4fs overlay
[project/fstools.git] / libfstools / find.c
index 0440052..9fd83c9 100644 (file)
@@ -102,7 +102,8 @@ find_mount_point(char *block, int mtd_only)
 
                        if (mtd_only &&
                            strncmp(t, "jffs2", 5) &&
-                           strncmp(t, "ubifs", 5)) {
+                           strncmp(t, "ubifs", 5) &&
+                           strncmp(t, "ext4", 4)) {
                                fclose(fp);
                                ULOG_ERR("block is mounted with wrong fs\n");
                                return NULL;