Skip to content
Commit 3a6b0761 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

nvmet: get transport reference for passthru ctrl



Grab a reference to the transport driver to ensure it can't be unloaded
while a passthrough controller is active.

Fixes: c1fef73f ("nvmet: add passthru code to process commands")
Reported-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarLogan Gunthorpe <logang@deltatee.com>
parent 52a3974f
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