summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/core.c
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2016-05-06 20:50:52 +0300
committerJens Axboe <axboe@fb.com>2016-05-18 02:14:21 +0300
commit014a0d609eb4721d1e416cf10da2d5602f9b34d5 (patch)
tree114e80a77d807bb2fe52d0c76862773711587ea7 /drivers/nvme/host/core.c
parent2800b8e7d9dfca1fd9d044dcf7a046b5de5a7239 (diff)
downloadlinux-014a0d609eb4721d1e416cf10da2d5602f9b34d5.tar.xz
NVMe: Delete only created queues
Use the online queue count instead of the number of allocated queues. The controller should just return an invalid queue identifier error to the commands if a queue wasn't created. While it's not harmful, it's still not correct. Reported-by: Saar Gross <saar@annapurnalabs.com> Signed-off-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/nvme/host/core.c')
0 files changed, 0 insertions, 0 deletions