Artem Bityutskiy df3fca4cdd 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>
2010-10-21 11:20:37 +03:00
..
2010-10-19 17:19:57 +03:00
2009-08-14 20:02:20 +03:00
2010-10-19 17:19:57 +03:00
2010-05-07 08:33:10 +03:00
2010-10-19 17:19:55 +03:00
2009-06-03 17:45:23 +03:00
2010-10-21 11:20:37 +03:00
2010-10-21 11:20:36 +03:00
2010-10-19 17:19:57 +03:00
2010-01-18 18:53:56 +02:00
2010-10-19 17:19:57 +03:00
2010-10-19 17:19:57 +03:00
2010-10-19 17:19:57 +03:00