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-10-11 11:34:07 -07:00
2014-10-18 18:11:04 -07:00
2014-10-17 11:55:32 -04:00
2014-10-15 07:23:49 +02:00
2014-10-09 14:58:15 -04:00
2014-10-22 07:59:25 -06:00
2014-10-13 11:28:42 +02:00
2014-10-08 17:37:16 -04:00
2014-10-18 10:25:09 -07:00
2014-10-15 07:05:03 +02:00
2014-10-15 07:48:18 +02:00
2014-10-15 07:05:03 +02:00
2014-10-15 07:48:18 +02:00
2014-10-14 10:51:23 +02:00
2014-10-18 18:11:04 -07:00
2014-10-09 02:39:07 -04:00
2014-10-10 22:07:55 -04:00
2014-10-09 22:26:00 -04:00
2014-10-09 14:58:15 -04:00
2014-10-14 09:39:08 +02:00
2014-10-09 14:58:15 -04:00
2014-10-03 08:19:02 -07:00
2014-10-19 12:50:44 -07:00
2014-10-18 12:12:45 -07:00
2014-10-19 12:29:23 -07:00
2014-10-19 12:40:24 -07:00
2014-10-15 07:23:49 +02:00
2014-10-15 07:48:18 +02:00
2014-10-14 15:05:35 -04:00
2014-10-10 16:40:14 -04:00
2014-10-18 12:25:30 -07:00
2014-10-18 18:11:04 -07:00
2014-10-14 02:18:22 +02:00
2014-10-07 21:29:18 -04:00
2014-10-15 06:58:16 +02:00
2014-10-18 18:11:04 -07:00
2014-10-18 12:12:45 -07:00
2014-10-18 18:11:04 -07:00
2014-10-18 18:11:04 -07:00
2014-10-07 14:48:29 -04:00
2014-10-17 07:08:51 -04:00
2014-10-11 06:47:50 -04:00
2014-10-13 16:23:15 +02:00
2014-10-11 20:29:01 -04:00
2014-10-09 14:58:15 -04:00
2014-10-14 02:18:25 +02:00
2014-10-14 02:18:25 +02:00
2014-10-15 06:56:23 +02:00
2014-10-15 06:56:23 +02:00
2014-10-14 02:18:19 +02:00
2014-10-18 12:12:45 -07:00
2014-10-18 12:12:45 -07:00
2014-10-08 17:37:16 -04:00
2014-10-18 18:11:04 -07:00
2014-10-09 14:58:15 -04:00
2014-10-14 09:39:08 +02:00
2014-10-18 11:53:51 -07:00
2014-10-14 02:18:25 +02:00
2014-10-18 18:11:04 -07:00
2014-10-13 11:28:42 +02:00
2014-10-15 07:23:49 +02:00
2014-10-18 18:11:04 -07:00
2014-10-18 10:25:09 -07:00
2014-10-10 16:40:14 -04:00
2014-10-11 20:29:01 -04:00