Commit 8b20f6da authored by Deepak Saxena's avatar Deepak Saxena Committed by Linus Torvalds
Browse files

[PATCH] Fix I2O config-osm init to return proper error

We currently unregister the config-osm driver if initialization of the
legacy ioctl() handlers failed but still return success.  We should be
returning -EBUSY in this case.
Signed-off-by: default avatarDeepak Saxena <>
Cc: Markus Lidel <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 40da47e1
......@@ -56,8 +56,11 @@ static int __init i2o_config_init(void)
return -EBUSY;
if (i2o_config_old_init())
if (i2o_config_old_init()) {
osm_err("old config handler initialization failed\n");
return -EBUSY;
return 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment