Files
linux/drivers
Roland Dreier f100fdf3a9 target: Don't return success from module_init() if setup fails
commit 0d0f9dfb31 upstream.

If the call to core_dev_release_virtual_lun0() fails, then nothing
sets ret to anything other than 0, so even though everything is
torn down and freed, target_core_init_configfs() will seem to succeed
and the module will be loaded.  Fix this by passing the return value
on up the chain.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-17 13:14:20 -08:00
..
2012-06-10 00:32:58 +09:00
2012-10-31 09:51:37 -07:00
2012-01-25 17:24:54 -08:00
2012-01-25 17:24:56 -08:00
2012-10-13 05:28:15 +09:00
2012-01-06 14:13:48 -08:00
2012-04-27 09:51:06 -07:00
2011-11-21 14:31:14 -08:00
2012-10-02 09:47:27 -07:00