Tag: 8b32bf5e37328c0ef267bc95d73b55e52f72ac77

md: md_clear_badblocks should return an error code on failure.

Author: NeilBrown <neilb@suse.de> 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 — drivers/md/md.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/md/md.c b/drivers/md/md.c …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.