commit | 8b32bf5e37328c0ef267bc95d73b55e52f72ac77 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Wed May 28 13:39:22 2014 +1000 |
committer | NeilBrown <neilb@suse.de> | Thu May 29 16:59:46 2014 +1000 |
tree | 6f85ee28bfe2a09652577bf332ea07c01be1361d | |
parent | 67f455486d2ea20b2d94d6adf5b9b783d079e321 [diff] |
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 <Julia.Lawall@lip6.fr> Signed-off-by: NeilBrown <neilb@suse.de>