From: Matthieu CASTET Date: Wed, 22 Aug 2012 14:03:46 +0000 (+0200) Subject: UBI: erase free PEB with bitflip in EC header X-Git-Tag: v3.2.32~131 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04ed02cc7d431eb295bf9a4cb33c13319f34c48a;p=pandora-kernel.git UBI: erase free PEB with bitflip in EC header commit 193819cf2e6e395b1e1be2d36785dc5563a6edca upstream. Without this patch, these PEB are not scrubbed until we put data in them. Bitflip can accumulate latter and we can loose the EC header (but VID header should be intact and allow to recover data). Signed-off-by: Matthieu Castet Signed-off-by: Artem Bityutskiy [bwh: Backported to 3.2: adjust filename, context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed