Files
twx-linux/drivers/mtd
Richard Weinberger 7f2e25fa12 ubi: Deal with interrupted erasures in WL
commit 2365418879 upstream.

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.

Fixes: dbb7d2a88d ("UBI: Add fastmap core")
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-28 03:01:28 -04:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…