diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2018-12-12 08:38:54 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-12-13 09:59:08 +0100 |
commit | e42b3867de4bd5ee3a1849afb68a1fa8627f7282 (patch) | |
tree | 9109fd71585cba4c6f25b26ca065fcdad4a250e1 /drivers/nvme/host/rdma.c | |
parent | nvmet: update smart log with num err log entries (diff) | |
download | linux-e42b3867de4bd5ee3a1849afb68a1fa8627f7282.tar.xz linux-e42b3867de4bd5ee3a1849afb68a1fa8627f7282.zip |
blk-mq-rdma: pass in queue map to blk_mq_rdma_map_queues
Will be used by nvme-rdma for queue map separation support.
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/rdma.c')
-rw-r--r-- | drivers/nvme/host/rdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c index f2db848f6985..5057d5ab5aaa 100644 --- a/drivers/nvme/host/rdma.c +++ b/drivers/nvme/host/rdma.c @@ -1751,7 +1751,7 @@ static int nvme_rdma_map_queues(struct blk_mq_tag_set *set) { struct nvme_rdma_ctrl *ctrl = set->driver_data; - return blk_mq_rdma_map_queues(set, ctrl->device->dev, 0); + return blk_mq_rdma_map_queues(&set->map[0], ctrl->device->dev, 0); } static const struct blk_mq_ops nvme_rdma_mq_ops = { |