]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 13 Aug 2008 08:22:41 +0000 (11:22 +0300)
commit16dfd804b44ef7156d1c201f100bd0d9dc6b7c4b
tree8286d4c108b93037f0775ca5fbaf09985b5f658b
parent1e0f358e29cc91c8eb09e10cbf1f6bb58a62c795
UBIFS: fix error return in failure mode

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>
fs/ubifs/debug.c