summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorJon Derrick <jonathan.derrick@intel.com>2015-06-30 20:22:52 +0300
committerJens Axboe <axboe@fb.com>2015-07-02 18:01:25 +0300
commit758dd7fdffd60507624edce34fff122a63163b3f (patch)
tree05f3a21ac88c42ac817e6c38e7e660059c56f8f7 /mm
parenta20135ffbc44545596f9b99c970de097fb497bdd (diff)
downloadlinux-758dd7fdffd60507624edce34fff122a63163b3f.tar.xz
NVMe: Fix irq freeing when queue_request_irq fails
Fixes an issue when queue_reuest_irq fails in nvme_setup_io_queues. This patch initializes all vectors to -1 and resets the vector to -1 in the case of a failure in queue_request_irq. This avoids the free_irq in nvme_suspend_queue if the queue did not get an irq. Signed-off-by: Jon Derrick <jonathan.derrick@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions