From: David Woodhouse Date: Sat, 5 May 2007 08:52:49 +0000 (+0100) Subject: [JFFS2] Don't advance c->wbuf_ofs to next eraseblock after wbuf flush X-Git-Tag: v2.6.22-rc1~142^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fddb6c985e3823c991399840d2d5ef5940e1b60;p=pandora-kernel.git [JFFS2] Don't advance c->wbuf_ofs to next eraseblock after wbuf flush After flushing the last page of an eraseblock, don't leave the wbuf 'offset' field pointing at the start of the next physical eraseblock. This was causing a BUG() on NOR-ECC (Sibley) flash, where we start writing a little further in, after the cleanmarker. Debugged by Alexander Belyakov Signed-off-by: David Woodhouse --- Reading git-diff-tree failed