commit | 7385014c073263b077442439299fad013edd4409 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Oct 22 14:03:33 2015 +0200 |
committer | Jens Axboe <axboe@fb.com> | Tue Dec 22 09:38:23 2015 -0700 |
tree | 862c56f67438962389649e8b706f4026f0c7eb0e | |
parent | 749941f2365db8198b5d75c83a575ee6e55bf03b [diff] |
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>