From 7834614f274cbf6957db6c5fee7b0bb0736d6a14 Mon Sep 17 00:00:00 2001 From: Toastman Date: Fri, 7 Jun 2013 16:03:52 +0700 Subject: [PATCH] jffs2: Ensure we do write back the cleared flag thanks to RMerlin https://github.com/RMerl/asuswrt-merlin/commit/fbcc8cc2d167649e979fcd77095be34eeb17d4f7 --- release/src/router/rc/jffs2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/src/router/rc/jffs2.c b/release/src/router/rc/jffs2.c index 3f55f69b88..a22e489c7a 100644 --- a/release/src/router/rc/jffs2.c +++ b/release/src/router/rc/jffs2.c @@ -51,7 +51,7 @@ void start_jffs2(void) if (nvram_match("jffs2_format", "1")) { nvram_set("jffs2_format", "0"); - + nvram_commit_x(); if (!mtd_erase("jffs2")) { error("formatting"); return; -- 2.11.4.GIT