Allow the block program to mount F2FS partitions
Signed-off-by: Mohammed Ousama BELATAR <bel3a...@aol.com>
---
 block.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


diff --git a/block.c b/block.c
index c6d1b90..a27662f 100644
--- a/block.c
+++ b/block.c
@@ -1084,7 +1084,8 @@ static int mount_extroot(char *cfg)
        }
        if (pr) {
                if (strncmp(pr->id->name, "ext", 3) &&
-                   strncmp(pr->id->name, "ubifs", 5)) {
+                   strncmp(pr->id->name, "ubifs", 5) &&
+                   strncmp(pr->id->name, "f2fs", 4)) {
                        ULOG_ERR("extroot: unsupported filesystem %s, try 
ext4\n", pr->id->name);
                        return -1;
                }
-- 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to