Commit c2fcbe2e authored by Brian Pomerantz's avatar Brian Pomerantz Committed by Tatyana Brokhman
Browse files

UBI: fastmap break out of used PEB search



While searching for PEB matches for each volume in the used PEB list,
the search fails to stop when the PEB is found.  This patch adds
a break in the inner loop to stop the search when it is matched.

Change-Id: I9a717a5a106e2808a594f77abce1c2aa9cd433ff
Signed-off-by: default avatarBrian Pomerantz <bapper@gmail.com>
Acked-by: default avatarRichard Weinberger <richard@nod.at>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Git-commit: 584d4623
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarTatyana Brokhman <tlinder@codeaurora.org>
parent 6d298fb7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment