commit | b5125d2b2c8ea90305b7001305b394440b0142c8 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Fri Jan 08 08:03:06 2010 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Tue Jan 26 00:07:50 2010 +0100 |
tree | c730e4dd84904360d08fdfa27c5fe91c0dc31a02 | |
parent | 0184f1ef5a6dfb849e9602f4bdff3d0484fe2082 [diff] |
jffs2: fix hangs/crashs when not using CONFIG_JFFS2_PART_SIZE Commit b5b004ad8a0ac6f98bd5708ec8b22fbddd1c1042 caused the sector_size to be calculated incorrectly when the part size was not hardcoded. This is because the new code relied on part->size but tried to do the calculation before it was initialized properly, and it did not take into consideration the magic SIZE_REMAINING define. Signed-off-by: Mike Frysinger <vapier@gentoo.org>