commit | ef5aafb6e4e9942a28cd300bdcda21ce6cbaf045 | [log] [tgz] |
---|---|---|
author | Sascha Hauer <s.hauer@pengutronix.de> | Wed Oct 23 11:58:12 2019 +0200 |
committer | Richard Weinberger <richard@nod.at> | Thu Jan 16 23:34:50 2020 +0100 |
tree | 66737f50cbef1ca65437b091e5a940d4ead3d0c3 | |
parent | b3a987b0264d3ddbb24293ebff10eddfc472f653 [diff] |
ubi: fastmap: Fix inverted logic in seen selfcheck set_seen() sets the bit corresponding to the PEB number in the bitmap, so when self_check_seen() wants to find PEBs that haven't been seen we have to print the PEBs that have their bit cleared, not the ones which have it set. Fixes: 5d71afb00840 ("ubi: Use bitmaps in Fastmap self-check code") Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Richard Weinberger <richard@nod.at>