]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-loop: use the tagset alloc/free helpers
authorChristoph Hellwig <hch@lst.de>
Tue, 20 Sep 2022 15:21:17 +0000 (17:21 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 27 Sep 2022 12:44:17 +0000 (14:44 +0200)
commit9ed94e92a057a3bf17965d00f838885de20028b3
treee16883e20453fd57b4b4f155d5d2ceadb692da8a
parentf6cb9f75196ae449b8603d878acf1611e1b4dc5a
nvme-loop: use the tagset alloc/free helpers

Use the common helpers to allocate and free the tagsets.  To make this
work the generic nvme_ctrl now needs to be stored in the hctx private
data instead of the nvme_loop_ctrl.

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