commit | b0bdbd6fc10c858e12944bd4d2162b520d79c174 | [log] [tgz] |
---|---|---|
author | Doyle, Patrick <pdoyle@irobot.com> | Wed Jul 15 14:46:34 2020 +0000 |
committer | Tom Rini <trini@konsulko.com> | Tue Aug 04 23:30:02 2020 -0400 |
tree | 488d1a4fe6731aaa89bfb06b988bbdaec3b8426f | |
parent | fce6f987be352cdef7ef5abaf8793ddc379d6b98 [diff] |
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: Patrick Doyle <pdoyle@irobot.com> Reviewed-by: Richard Weinberger <richard@nod.at>