commit | 3fddb6c985e3823c991399840d2d5ef5940e1b60 | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw2@infradead.org> | Sat May 05 09:52:49 2007 +0100 |
committer | David Woodhouse <dwmw2@infradead.org> | Sat May 05 09:52:49 2007 +0100 |
tree | d8da4d00e1c66eca503c511913532e6d98ea0ab2 | |
parent | 693ef66d8914f50cb899b5268676ea508d1f3178 [diff] |
[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 <abelyako@googlemail.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>