summaryrefslogtreecommitdiff
path: root/lib/interval_tree.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2016-08-24 15:36:13 +0300
committerRichard Weinberger <richard@nod.at>2016-10-02 23:49:54 +0300
commit2365418879e9abf12ea9def7f9f3caf0dfa7ffb0 (patch)
tree769be0c29f17a9c30342e5d07813d03390cb87ce /lib/interval_tree.c
parent3291b52f9ff0acc80a8ee3f92a960db937dccecb (diff)
downloadlinux-2365418879e9abf12ea9def7f9f3caf0dfa7ffb0.tar.xz
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>
Diffstat (limited to 'lib/interval_tree.c')
0 files changed, 0 insertions, 0 deletions