Skip to content
Snippets Groups Projects
Commit 2903ad33 authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

jffs2: fix hangs/crashs when not using CONFIG_JFFS2_PART_SIZE


Commit b5b004ad 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: default avatarMike Frysinger <vapier@gentoo.org>
parent 64b15021
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment