commit | b77bcb07897f1a9cd9d1d78691896dcdb0fd1a22 | [log] [tgz] |
---|---|---|
author | Zoltan Sogor <weth@inf.u-szeged.hu> | Wed Oct 29 09:50:02 2008 +0100 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Thu Nov 06 11:13:02 2008 +0200 |
tree | 1bc140b0a6b112b78bce4c0afd17f845e84d8fee | |
parent | 45beca08dd8b6d6a65c5ffd730af2eac7a2c7a03 [diff] |
UBI: fix EBADMSG handling 'ubi_io_read_data()' may return EBADMSG in case of an ECC error, and we should not panic because of this. We have CRC32 checksum and may check the data. So just ignore the EBADMSG error. This patch also fixes a minor spelling error at the same time. Signed-off-by: Zoltan Sogor <weth@inf.u-szeged.hu> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>