[PATCH] Fix I2O config-osm init to return proper error
authorDeepak Saxena <dsaxena@plexity.net>
Wed, 21 Sep 2005 16:55:35 +0000 (09:55 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 21 Sep 2005 17:11:54 +0000 (10:11 -0700)
commit8b20f6da20d874a58becc7a08b130c4382ea7325
tree351214ad8719c6d46291d21b212996db46aef0dd
parent40da47e1159b89f2df5c718d2d5e269ced72b541
[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: Deepak Saxena <dsaxena@plexity.net>
Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/message/i2o/config-osm.c