NVMe: add ->exit_hctx() hook
authorJens Axboe <axboe@fb.com>
Fri, 14 Nov 2014 16:47:32 +0000 (09:47 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 20 Nov 2014 18:10:03 +0000 (11:10 -0700)
commit2c30540b38d683d4c7f06d13a451f67d4362d7b1
tree490cba2c04664298b43e2e5b62a2fb428a3ca345
parente32efbfc35c1b06f1bfe3e6d737acdd14d27baed
NVMe: add ->exit_hctx() hook

If we do teardown and setup of the queue and block related parts
of the driver, then we should clear nvmeq->hctx once we kill the
hardware queue.

Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c