nvme-loop: store the generic nvme_ctrl in set->driver_data
authorChristoph Hellwig <hch@lst.de>
Tue, 20 Sep 2022 15:20:46 +0000 (17:20 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 27 Sep 2022 12:44:17 +0000 (14:44 +0200)
commit2ade82213b7a35c761273fe0c982f4ab8707f30a
tree924f55f5dcf19e3625bf8add4ea32db3bca66a52
parent379e0df5ab2c46e52e7ca2273d1238526631aa4f
nvme-loop: store the generic nvme_ctrl in set->driver_data

Point the private data to the generic controller structure in preparation
of using the common tagset init/exit code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
drivers/nvme/target/loop.c