]> git.karo-electronics.de Git - linux-beck.git/commit
UBI: erase free PEB with bitflip in EC header
authorMatthieu CASTET <matthieu.castet@parrot.com>
Wed, 22 Aug 2012 14:03:46 +0000 (16:03 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 4 Sep 2012 06:39:01 +0000 (09:39 +0300)
commit193819cf2e6e395b1e1be2d36785dc5563a6edca
tree51a3cc303a5f34c8fc63ef102da0bde66edfc89c
parentabb3e01103eb4e2ea5c15e6fedbc74e08bd4cc2b
UBI: erase free PEB with bitflip in EC header

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 <matthieu.castet@parrot.com>
Cc: stable@vger.kernel.org
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/attach.c