NVMe: Fix possible queue use after freed
commit949928c1c731417cc0f070912c63878b62b544f4
authorKeith Busch <keith.busch@intel.com>
Fri, 18 Dec 2015 00:08:15 +0000 (17 17:08 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 9 Feb 2016 19:42:35 +0000 (9 12:42 -0700)
tree34a5310870609384f3904f5b61c06272c80d55fb
parent868f2f0b72068a097508b6e8870a8950fd8eb7ef
NVMe: Fix possible queue use after freed

This notifies blk-mq when the tag set contains a different number of
queues prior to freeing unused ones that the request queue points to.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c