From: NeilBrown Date: Wed, 28 May 2014 03:39:22 +0000 (+1000) Subject: md: md_clear_badblocks should return an error code on failure. X-Git-Tag: omap-for-v3.16/fixes-against-rc1~58^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b32bf5e37328c0ef267bc95d73b55e52f72ac77;p=pandora-kernel.git md: md_clear_badblocks should return an error code on failure. Julia Lawall and coccinelle report that md_clear_badblocks always returns 0, despite appearing to have an error path. The error path really should return an error code. ENOSPC is reasonably appropriate. Reported-by: Julia Lawall Signed-off-by: NeilBrown --- Reading git-diff-tree failed