nvme: properly handle partially initialized queues in nvme_create_io_queues
authorChristoph Hellwig <hch@lst.de>
Fri, 2 Oct 2015 16:51:31 +0000 (18:51 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 9 Oct 2015 16:40:37 +0000 (10:40 -0600)
commit2659e57b906562bb020fb093b0c1b670b9700314
tree12981104cda91f51ceed57206887e80e0246975b
parent3cf519b5a8d4d067e3de19736283c9414402d3a2
nvme: properly handle partially initialized queues in nvme_create_io_queues

This avoids having to clean up later in a seemingly unrelated place.

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