From: Alexander Belyakov Date: Fri, 17 Oct 2008 15:19:13 +0000 (+0400) Subject: [JFFS2] Write buffer offset adjustment for NOR-ECC (Sibley) flash X-Git-Tag: v2.6.28-rc1~105^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bf1723723487ddb0b9c9641b6559da96b27cc93;p=pandora-kernel.git [JFFS2] Write buffer offset adjustment for NOR-ECC (Sibley) flash After choosing new c->nextblock, don't leave the wbuf offset field occasionally pointing at the start of the next physical eraseblock. This was causing a BUG() on NOR-ECC (Sibley) flash, where we start writing after the cleanmarker. Among other this fix should cover write buffer offset adjustment after flushing the last page of an eraseblock. Signed-off-by: Alexander Belyakov Signed-off-by: David Woodhouse --- Reading git-diff-tree failed