[generic] Fix JFFS2 code backport.