Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit da141471 authored by Richard Weinberger's avatar Richard Weinberger Committed by Greg Kroah-Hartman
Browse files

ubi: fastmap: Check each mapping only once



commit 34653fd8c46e771585fce5975e4243f8fd401914 upstream.

Maintain a bitmap to keep track of which LEB->PEB mapping
was checked already.
That way we have to read back VID headers only once.

Fixes: a23cf10d ("ubi: fastmap: Correctly handle interrupted erasures in EBA")
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Signed-off-by: default avatarMartin Kepplinger <martin.kepplinger@ginzinger.com>
parent 0aa6b111
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment