NVMe: replace blk_put_request() with blk_mq_free_request()
authorJens Axboe <axboe@fb.com>
Mon, 17 Nov 2014 17:43:42 +0000 (10:43 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 17 Nov 2014 17:43:42 +0000 (10:43 -0700)
commit9d135bb8c2a0d2e54b84ebc1b7d41852614fead8
tree75b9f750cd85b461a490631cf10d7b1c70904c8e
parent8d76d1015d86f2b66c872fbcaf46072228d757a5
NVMe: replace blk_put_request() with blk_mq_free_request()

No point in using blk_put_request(), since we know we are blk-mq.
This only makes sense in core code where we could be dealing with
either legacy or blk-mq drivers. Additionally, use
blk_mq_free_hctx_request() for the request completion fast path,
where we already know the mapping from request to hardware queue.

Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c