From: Artem Bityutskiy Date: Mon, 3 May 2010 06:04:39 +0000 (+0300) Subject: UBI: introduce a new IO return code X-Git-Tag: v2.6.36-rc1~586^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb89580e1a8388d206bf143c6c39d001095106ba;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy Reviewed-by: Sebastian Andrzej Siewior Tested-by: Sebastian Andrzej Siewior --- Reading git-diff-tree failed