UBI: do not panic if volume check fails
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 13 May 2009 11:05:24 +0000 (14:05 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 17 Jul 2009 13:04:22 +0000 (16:04 +0300)
commite4b58e3320e812c3a58d29fe84fa4f792cc69847
tree4fccb3c444c9da61bfe3cb1a6815114a52b36b9f
parentab4b313bdae4f6b90450d5dbd0cfbd0b96d39e7f
UBI: do not panic if volume check fails

If a volume paranoid check fails, do not return an error
code to the caller, but just print error messages and go
forward. The primary reason for this is that it is difficult
to recover and cancel the operation at that stage.

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