Matias Bjørling a514379b0c null_blk: oops when initializing without lightnvm
If the LightNVM subsystem is not compiled into the kernel, and the
null_blk device driver requests lightnvm to be initialized. The call to
nvm_register fails and the null_add_dev function cleans up the
initialization. However, at this point the null block device has
already been added to the nullb_list and thus a second cleanup will
occur when the function has returned, that leads to a double call to
blk_cleanup_queue.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-02-11 08:56:09 -07:00
..
2016-01-22 18:04:28 -05:00
2016-01-06 08:25:24 -05:00
2016-01-15 17:56:32 -08:00
2016-01-13 19:37:36 -08:00
2011-08-08 11:40:15 +02:00
2014-08-08 15:57:28 -07:00
2015-09-23 11:01:16 -06:00
2016-01-08 21:20:32 -05:00
2013-11-08 09:10:30 -07:00
2009-03-26 21:15:27 +01:00