Messages in this thread |  | | Date | Wed, 22 Oct 2014 07:59:39 -0600 | From | Jens Axboe <> | Subject | Re: [PATCH] null_blk: Cleanup error recovery in null_add_dev() |
| |
On 10/22/2014 07:34 AM, Jan Kara wrote: > 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.
Thanks Jan, applied.
-- Jens Axboe
|  |