Richard Weinberger 2365418879 ubi: Deal with interrupted erasures in WL
When Fastmap is used we can face here an -EBADMSG
since Fastmap cannot know about unmaps.
If the erasure was interrupted the PEB may show ECC
errors and UBI would go to ro-mode as it assumes
that the PEB was check during attach time, which is
not the case with Fastmap.

Cc: <stable@vger.kernel.org>
Fixes: dbb7d2a88d ("UBI: Add fastmap core")
Signed-off-by: Richard Weinberger <richard@nod.at>
2016-10-02 22:49:54 +02:00
..
2016-10-02 22:48:14 +02:00
2016-10-02 22:48:14 +02:00
2015-04-13 21:05:17 +02:00
2016-10-02 22:48:14 +02:00
2016-07-29 23:31:54 +02:00
2016-10-02 22:48:14 +02:00
2015-10-03 20:09:41 +02:00
2016-10-02 22:48:14 +02:00
2016-10-02 22:48:14 +02:00
2016-10-02 22:48:14 +02:00
2016-10-02 22:49:54 +02:00
2015-03-26 22:47:38 +01:00