nvme-rdma: fix nvme_rdma_queue_is_ready
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Jan 2017 11:29:02 +0000 (14:29 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 11 Jan 2017 16:20:39 +0000 (17:20 +0100)
commit1392370ee7de8aa3f69936f55bea6bfcc9879c59
tree6682322b106a94ecb30cfdc43876ffbb4dc91073
parent6bf6b0aa3da84a3d9126919a94c49c0fb7ee2fb3
nvme-rdma: fix nvme_rdma_queue_is_ready

Now that we don't abuse the cmd field in struct request for nvme command
passthrough this function needs to be converted to the proper accessor
as well.

Fixes: d49187e97e ("nvme: introduce struct nvme_request")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
drivers/nvme/host/rdma.c