fix jffs2 and mini_fo mount in failsafe (patch from #7134)