linux/drivers/nvme/host
Christoph Hellwig a6a5149b10 nvme: get rid of nvme_ctrl_list
Use the core chrdev code to set up the link between the character device
and the nvme controller.  This allows us to get rid of the global list
of all controllers, and also ensures that we have both a reference to
the controller and the transport module before the open method of the
character device is called.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sgi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
2017-10-27 09:04:53 +03:00
..
core.c nvme: get rid of nvme_ctrl_list 2017-10-27 09:04:53 +03:00
fabrics.c nvme-fabrics: request transport module 2017-10-04 09:43:58 +02:00
fabrics.h nvme: read the subsystem NQN from Identify Controller 2017-06-28 08:14:13 -06:00
fc.c nvme: switch controller refcounting to use struct device 2017-10-27 09:04:07 +03:00
Kconfig nvme: Remove SCSI translations 2017-06-28 08:14:13 -06:00
lightnvm.c nvme: fix lightnvm check 2017-09-11 12:29:36 -04:00
Makefile nvme: Makefile: remove dead build rule 2017-06-29 09:43:23 -06:00
nvme.h nvme: get rid of nvme_ctrl_list 2017-10-27 09:04:53 +03:00
pci.c nvme: switch controller refcounting to use struct device 2017-10-27 09:04:07 +03:00
rdma.c nvme: switch controller refcounting to use struct device 2017-10-27 09:04:07 +03:00