]> bbs.cooldavid.org Git - net-next-2.6.git/commit
UBI: print a message if ECH is corrupted and VIDH is ok
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 19 Jul 2009 11:03:16 +0000 (14:03 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 14 Aug 2009 17:01:35 +0000 (20:01 +0300)
commit29a88c99d29834fb3314e0144900b187ede83106
tree7987ce7659e291420824c93e04cebf3c6a2ad7c4
parent64f1607ffbbc772685733ea63e6f7f4183df1b16
UBI: print a message if ECH is corrupted and VIDH is ok

If the EC header is corrupted, but the VID header is OK, UBI accepts the
PEB and treats it as "used". However, generally this should not happen.
Print a warning if this happens.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/scan.c