Skip to content
Commit 06fc4573 authored by Doyle, Patrick's avatar Doyle, Patrick Committed by Tom Rini
Browse files

Fix corner case in bad block table handling.



In the unlikely event that both blocks 10 and 11 are marked as bad (on a
32 bit machine), then the process of marking block 10 as bad stomps on
cached entry for block 11.  There are (of course) other examples.

Signed-off-by: default avatarPatrick Doyle <pdoyle@irobot.com>
Reviewed-by: default avatarRichard Weinberger <richard@nod.at>
parent 4a4830cf
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