nvme: move the call to nvme_init_identify earlier
authorChristoph Hellwig <hch@lst.de>
Fri, 16 Oct 2015 05:58:46 +0000 (07:58 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 1 Dec 2015 17:59:40 +0000 (10:59 -0700)
commitce4541f40a949cd9a9c9f308b1a6a86914ce6e1a
tree3fe76ebab4c4ae2c21a67b5df205b6bc3d022ea5
parent7fd8930f26be4c9078684b2fef14da0503771bf2
nvme: move the call to nvme_init_identify earlier

We want to record the identify and CAP values even if no I/O queue
is available.

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