diff options
author | Nitzan Carmi <nitzanc@mellanox.com> | 2018-01-04 17:56:13 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-01-08 16:56:57 +0100 |
commit | 85088c4a0f65f0be25a98164ec6bca02ac5cad04 (patch) | |
tree | ffe8e6a1d08ce51fc1d3f1197e3fecf5c13a91e7 /certs | |
parent | nvme-pci: fix NULL pointer reference in nvme_alloc_ns (diff) | |
download | linux-dev-85088c4a0f65f0be25a98164ec6bca02ac5cad04.tar.xz linux-dev-85088c4a0f65f0be25a98164ec6bca02ac5cad04.zip |
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>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions