linux-sg2042/drivers/nvme/host
Nitzan Carmi 85088c4a0f nvme: take refcount on transport module
The block device is backed by the transport so we must ensure that the
transport driver will not be removed until all references are released.
Otherwise, we might end up referencing freed memory.

Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Nitzan Carmi <nitzanc@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2018-01-08 16:56:57 +01:00
..
Kconfig nvme: implement multipath access to nvme subsystems 2017-11-10 19:53:25 -07:00
Makefile Merge branch 'for-4.15/block' of git://git.kernel.dk/linux-block 2017-11-14 15:32:19 -08:00
core.c nvme: take refcount on transport module 2018-01-08 16:56:57 +01:00
fabrics.c nvme-fabrics: protect against module unload during create_ctrl 2018-01-08 11:01:56 +01:00
fabrics.h nvme-fabrics: protect against module unload during create_ctrl 2018-01-08 11:01:56 +01:00
fc.c nvme-fabrics: protect against module unload during create_ctrl 2018-01-08 11:01:56 +01:00
lightnvm.c lightnvm: make geometry structures 2.0 ready 2018-01-05 08:50:12 -07:00
multipath.c nvme: fix spelling mistake: "requeing" -> "requeuing" 2017-11-20 08:38:10 +01:00
nvme.h nvme-pci: fix NULL pointer reference in nvme_alloc_ns 2018-01-08 11:02:13 +01:00
pci.c nvme-pci: fix NULL pointer reference in nvme_alloc_ns 2018-01-08 11:02:13 +01:00
rdma.c nvme-fabrics: protect against module unload during create_ctrl 2018-01-08 11:01:56 +01:00