]> git.karo-electronics.de Git - linux-beck.git/commit
UBI: Fastmap: Fall back to scanning mode after ECC error
authorRichard Weinberger <richard@nod.at>
Mon, 9 Mar 2015 09:04:09 +0000 (10:04 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 26 Mar 2015 22:03:15 +0000 (23:03 +0100)
commit180a53577b809026af744e99a35b3a3a0056520b
treeb10189a9df5f961bfbdf42db646b84925c273ac6
parent56794c0a1ae738cb4184ab27501e4d152b0b2771
UBI: Fastmap: Fall back to scanning mode after ECC error

If we encounter an uncorrectable ECC error while scanning for the fastmap
UBI must not fail hard. Instead fall back to scanning mode.

Reported-by: Alexander Block <Alexander.Block@continental-corporation.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/attach.c