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

Commit 21949571 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "UBI: fastmap break out of used PEB search"

parents da92f535 c2fcbe2e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -727,8 +727,10 @@ static int ubi_attach_fastmap(struct ubi_device *ubi,

			aeb = NULL;
			list_for_each_entry(tmp_aeb, &used, u.list) {
				if (tmp_aeb->pnum == pnum)
				if (tmp_aeb->pnum == pnum) {
					aeb = tmp_aeb;
					break;
				}
			}

			/* This can happen if a PEB is already in an EBA known