nvme-rdma: centralize admin/io queue teardown sequence
authorSagi Grimberg <sagi@grimberg.me>
Mon, 9 Jul 2018 09:49:07 +0000 (12:49 +0300)
committerChristoph Hellwig <hch@lst.de>
Tue, 24 Jul 2018 13:55:50 +0000 (15:55 +0200)
commit75862c72323e222656792370e2f240bc4029ff96
tree128cfa2b8c90645e99077cfd7f240db8e71d5e63
parentc66e2998c8ca4d5da85d4915612dca29e054ad21
nvme-rdma: centralize admin/io queue teardown sequence

We follow the same queue teardown sequence in delete, reset and error
recovery. Centralize the logic.  This patch does not change any
functionality.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c