]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[JFFS2] Return values of jffs2_block_check_erase error paths
authorAnders Grafström <grfstrm@users.sourceforge.net>
Wed, 12 Mar 2008 19:29:23 +0000 (20:29 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 23 Apr 2008 09:06:46 +0000 (10:06 +0100)
commit8a0f572397ca0673c65c1662946014bb73b5cdc6
tree52826a59a08401e1e0fa34734667391e5d28b775
parente43fe686e48835ca027559a068bbe0b6d264a254
[JFFS2] Return values of jffs2_block_check_erase error paths

It looks the error paths in jffs2_block_check_erase() have wrong return
values. A block that failed to be erased never gets marked as bad.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/erase.c