Skip to content
Commit 85088c4a authored by Nitzan Carmi's avatar Nitzan Carmi Committed by Christoph Hellwig
Browse files

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: default avatarMax Gurtovoy <maxg@mellanox.com>
Signed-off-by: default avatarNitzan Carmi <nitzanc@mellanox.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 2b1b7e78
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment