nvme-rdma: make nvme_rdma_[create|destroy]_queue_ib symmetrical
authorSagi Grimberg <sagi@grimberg.me>
Thu, 4 May 2017 10:33:09 +0000 (13:33 +0300)
committerChristoph Hellwig <hch@lst.de>
Thu, 15 Jun 2017 12:28:19 +0000 (14:28 +0200)
commitca6e95bb0a2ac11ae7a04e5cc53c709522af5144
tree32edb413991ce951864f6fbbc39c8812bec76a13
parentc8295d111225f869f98f032050ec8d028f5b590f
nvme-rdma: make nvme_rdma_[create|destroy]_queue_ib symmetrical

We put the reference on the device in the destroy routine
so we should lookup and take the reference in the create
routine.

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