UBI: always dump VID and EC headers in case of errors
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 25 Apr 2012 06:02:44 +0000 (09:02 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Thu, 21 Jun 2012 11:46:16 +0000 (14:46 +0300)
UBI (and UBIFS) are a bit over-engineered WRT debugging. The idea was to
link as few as possible when debugging is disabled, but the downside is
that most people produce bug reports which are difficult to understand.

Always dump the VID and EC headers' contents in case of errors when it
is helpful.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

No differences found