]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf6cb9f75196ae449b8603d878acf1611e1b4dc5a
tree924f55f5dcf19e3625bf8add4ea32db3bca66a52
parent5535454951b40a48a602eab94c4526d402bfa848
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