UBIFS: fix error return in failure mode
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Fri, 18 Jul 2008 13:47:41 +0000 (16:47 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 25 May 2009 14:08:47 +0000 (17:08 +0300)
UBIFS recovery testing debug facility simulates media failures.
When simulating an IO error, the error code returned must be
-EIO but it was not always if the user switched off the
debug recovery testing option at the same time.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>

No differences found