]> git.baikalelectronics.ru Git - kernel.git/commit
UBI: tighten the corrupted PEB criteria
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 20 Oct 2010 08:54:58 +0000 (11:54 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 21 Oct 2010 08:20:37 +0000 (11:20 +0300)
commit1261609bbcd1082e3cfe133cb8a136299ef3ba3f
treefd2dee47b52135e9532d479a0378a8ec52af6eba
parent56a5ff173a9b3028ed7c8bedb18ee7df863e6269
UBI: tighten the corrupted PEB criteria

If we get a bit-flip of ECC error while reading the data area, do not add it to
corrupted list, because it is possible that this is just unstable PEB with
corruptions caused by unclean reboots.

This patch also improves commentaries.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/scan.c