rtem Bityutskiy 1287564681 +0300 committer Artem Bityutskiy 1287649237 +0300 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 “ø±Z“-x