]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
UBI: add truly corrupted PEBs to corrupted list
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 3 Sep 2010 19:50:53 +0000 (22:50 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 19 Oct 2010 14:19:57 +0000 (17:19 +0300)
commitfeeba4b872e5166ca64c44fbb5bbec234dfce199
tree5120bbb0e351ae3f108e33f70281e53b9eebe5c5
parent315324947cbc7264af86b7ecdc2d5fb5f8556222
UBI: add truly corrupted PEBs to corrupted list

Start using the 'corr' list and add there PEBs which look truly corrupted,
which means they have corrupted VID header and the data which follows the
corrupted header does not contain all 0xFF bytes.

At the moment, this does not change UBI functionality much because these
PEBs will be erase when scanning finishes. But the plan is to teach UBI
preserving them.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/scan.c