summaryrefslogtreecommitdiffstats
path: root/package/system/ubox/patches
Commit message (Collapse)AuthorAgeFilesLines
* package/ubox: fix jffs2 handling on MTD devices emulated by gluebiGabor Juhos2013-11-051-0/+176
The jffs2_ready() function in mount_root.c checks the presence of various JFFS2 markers at the start of a given MTD device. The function works on NOR flashes because JFFS2 puts 'cleanmarker' nodes at the start of freshly erased blocks. However if jffs2 is used on a MTD device emulated by the gluebi layer, the 'cleanmarker' nodes are not present and the jffs2_ready() function fails. Update the code to handle jffs2 correctly even on MTD devices emulated by the gluebi layer. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38654