OSDN Git Service

nvme-rdma: fix nvme_rdma_create_queue_ib error flow
authorMax Gurtovoy <maxg@mellanox.com>
Mon, 6 Nov 2017 14:18:51 +0000 (16:18 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 11 Nov 2017 02:53:25 +0000 (19:53 -0700)
commit1f61def985d896da5935ae85a69c79fc26c7952f
tree5762c7475d96949348b1aac5f24a8faf28b12090
parent43b92fd27aaef0f529c9321cfebbaec1d7b8f503
nvme-rdma: fix nvme_rdma_create_queue_ib error flow

QP object is created using rdma_cm api, therefore the destruction
should use the same api for symmetry.

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/rdma.c