libfstools: add f2fs filesystem type and simplify fs type code
[project/fstools.git] / libfstools / libfstools.h
index 31d9f9e..f5ca75c 100644 (file)
@@ -17,6 +17,7 @@
 #include <libubox/list.h>
 #include <libubox/blob.h>
 #include <libubox/ulog.h>
+#include <libubox/utils.h>
 
 struct volume;
 
@@ -26,6 +27,7 @@ enum {
        FS_JFFS2,
        FS_DEADCODE,
        FS_UBIFS,
+       FS_F2FS,
 };
 
 enum fs_state {
@@ -47,7 +49,7 @@ extern int ramoverlay(void);
 
 extern int find_overlay_mount(char *overlay);
 extern char* find_mount(char *mp);
-extern char* find_mount_point(char *block, int mtd_only);
+extern char* find_mount_point(char *block, int root_only);
 extern int find_filesystem(char *fs);
 
 extern int jffs2_switch(struct volume *v);