]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
nvme-pci: fix the wrong setting of nr_maps
authorJianchao Wang <jianchao.w.wang@oracle.com>
Mon, 24 Dec 2018 03:15:53 +0000 (11:15 +0800)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 Jan 2019 18:47:02 +0000 (13:47 -0500)
commitc61e678f30da733a1b7fdd5983d0770de2e6009c
treeacf33c3ebf5a4f274ac00fab9f321cfd07557974
parent47cb393ee4815e10ab66f981fed581afdcc7caac
nvme-pci: fix the wrong setting of nr_maps

We only set the nr_maps to 3 if poll queues are supported.

Signed-off-by: Jianchao Wang <jianchao.w.wang@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c