diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-10-20 11:51:21 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-10-21 11:20:37 +0300 |
commit | df3fca4cdddfa6e1f51b65214d4342660649bd1f (patch) | |
tree | 13389da659d8d2235f8a56f7e263f11bced19fc6 /drivers/mtd/nand | |
parent | fb22b59b2c38054cc847f6acc5c46daa26dc6dd3 (diff) |
UBI: fix check_data_ff return code
When the data does not contain all 0xFF bytes, 'check_data_ff()' should return
1, not -EINVAL; Also, the caller ('process_eb()') should not add the PEB to the
"corrupted" list if there was a read error.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/nand')
0 files changed, 0 insertions, 0 deletions