Jan Kara
31f9690e6e
null_blk: Cleanup error recovery in null_add_dev()
...
When creation of queues fails in init_driver_queues(), we free the
queues. But null_add_dev() doesn't test for this failure and continues
with the setup leading to strange consequences, likely oops. Fix the
problem by testing whether init_driver_queues() failed and do proper
error cleanup.
Coverity-id: 1148005
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
2014-10-22 07:59:25 -06:00
..
2014-03-04 07:55:47 -08:00
2014-09-18 09:00:17 -06:00
2014-10-18 12:12:45 -07:00
2014-10-18 11:53:51 -07:00
2014-10-18 12:12:45 -07:00
2014-10-18 12:12:45 -07:00
2014-10-18 12:12:45 -07:00
2014-04-15 14:03:02 -06:00
2014-06-02 09:29:34 -07:00
2014-08-21 20:42:01 -05:00
2013-04-09 14:13:19 -04:00
2014-08-08 15:57:28 -07:00
2013-09-24 17:00:26 -07:00
2013-06-29 12:46:45 +04:00
2014-08-08 15:57:28 -07:00
2014-06-18 10:30:22 -07:00
2014-10-01 08:16:07 -06:00
2014-01-30 16:56:55 -08:00
2014-05-07 13:15:46 +02:00
2013-06-29 12:46:45 +04:00
2014-01-30 16:56:55 -08:00
2014-04-15 14:03:02 -06:00
2014-10-04 10:55:32 -06:00
2014-10-22 07:59:25 -06:00
2014-10-04 10:55:32 -06:00
2014-06-13 13:11:00 -04:00
2013-09-11 15:56:56 -07:00
2014-08-28 10:03:46 -06:00
2013-11-23 22:33:51 -08:00
2013-11-23 22:33:49 -08:00
2014-10-14 12:57:05 -07:00
2014-10-04 10:55:32 -06:00
2013-11-08 09:10:30 -07:00
2014-09-30 14:37:35 -07:00
2014-04-15 14:03:02 -06:00
2014-04-15 14:03:02 -06:00
2014-08-28 10:03:46 -06:00
2013-11-23 22:33:51 -08:00
2014-10-18 11:53:51 -07:00
2014-10-18 12:12:45 -07:00
2014-08-21 20:37:54 -05:00
2014-04-15 14:03:02 -06:00