diff options
author | Christoph Hellwig <hch@lst.de> | 2015-10-22 14:03:33 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-12-22 17:38:23 +0100 |
commit | 7385014c073263b077442439299fad013edd4409 (patch) | |
tree | 862c56f67438962389649e8b706f4026f0c7eb0e /init | |
parent | nvme: only ignore hardware errors in nvme_create_io_queues (diff) | |
download | linux-7385014c073263b077442439299fad013edd4409.tar.xz linux-7385014c073263b077442439299fad013edd4409.zip |
nvme: only add a controller to dev_list after it's been fully initialized
Without this we can easily get bad derferences on nvmeq->d_db when the nvme
kthread tries to poll the CQs for controllers that are in half initialized
state.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions