nvme-fc: use the tagset alloc/free helpers
authorChristoph Hellwig <hch@lst.de>
Tue, 20 Sep 2022 15:19:36 +0000 (17:19 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 27 Sep 2022 12:44:17 +0000 (14:44 +0200)
commit6dfba1c09c109f4a6ca12e156dbdbe27e0924862
tree9b261ff610eb4433c66b0c09cbdbef53597289fa
parent1864ea46155ce5e12a3797532c531843688904cc
nvme-fc: 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_fc_ctrl.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: James Smart <jsmart2021@gmail.com>
drivers/nvme/host/fc.c