Artem Bityutskiy eb89580e1a UBI: introduce a new IO return code
This patch introduces the %UBI_IO_BAD_HDR_READ return code for
the I/O level function. We will use this code in order to distinguish
between "corrupted header possibly because this is non-ubi data" and
"corrupted header possibly because of real data corruption and ECC error".

So far this patch does not introduce any functional change, just a
preparation.

This patch is pased on a patch from
Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Reviewed-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Tested-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
2010-06-04 11:30:42 +03:00
..
2010-05-27 22:05:02 -04:00
2009-08-14 20:02:20 +03:00
2010-02-01 15:16:37 +02:00
2010-06-04 11:30:42 +03:00
2010-06-04 11:30:42 +03:00
2010-05-07 08:33:10 +03:00
2010-05-07 08:33:10 +03:00
2009-01-27 16:54:41 +02:00
2009-06-03 17:45:23 +03:00
2010-06-04 11:30:42 +03:00
2009-10-20 10:13:04 +03:00
2010-06-04 11:30:42 +03:00
2010-01-18 18:53:56 +02:00
2010-05-07 08:33:32 +03:00
2010-05-07 08:33:10 +03:00