commit | 62314e405fa101dbb82563394f9dfc225e3f1167 | [log] [tgz] |
---|---|---|
author | Keith Busch <keith.busch@intel.com> | Tue Jan 23 09:16:19 2018 -0700 |
committer | Christoph Hellwig <hch@lst.de> | Tue Jan 23 20:15:34 2018 +0100 |
tree | 6996c5dba29363a50f5c1295c78a1f3052a6f8b8 | |
parent | 475a055e62a1eb92f4358ad8a9059df973c190ac [diff] |
nvme-pci: Fix queue double allocations The queue count says the highest queue that's been allocated, so don't reallocate a queue lower than that. Fixes: 147b27e4bd0 ("nvme-pci: allocate device queues storage space at probe") Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de>