diff options
| author | Richard Weinberger <richard@nod.at> | 2016-08-24 14:36:13 +0200 |
|---|---|---|
| committer | Ben Hutchings <ben@decadent.org.uk> | 2017-02-23 03:54:08 +0000 |
| commit | a99718155783ae8a715f11ea2ca8ea040654beff (patch) | |
| tree | bae13f5f785d07b58eb9e3b271646632ada3206d /include/linux/string.h | |
| parent | d6983e15fa7a6ab88b2ac9ca723fbb407e35185c (diff) | |
ubi: Deal with interrupted erasures in WL
commit 2365418879e9abf12ea9def7f9f3caf0dfa7ffb0 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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
