mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
ubi: Deal with interrupted erasures in WL
commit2365418879upstream. 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>
This commit is contained in:
parent
d6983e15fa
commit
a997181557
1 changed files with 19 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue