blk-mq: remove __blk_mq_alloc_request
authorChristoph Hellwig <hch@lst.de>
Fri, 16 Jun 2017 16:15:27 +0000 (18:15 +0200)
committerJens Axboe <axboe@kernel.dk>
Sun, 18 Jun 2017 16:08:55 +0000 (10:08 -0600)
commite4cdf1a1cb161a648cc1ed7d6148fc3b99a1b3f5
tree0e2618c1d16e03ddaca34537b5629f389fc2c8cf
parent5bbf4e5a8e3a780874b2ed77bd1bd57850f3f6da
blk-mq: remove __blk_mq_alloc_request

Move most code into blk_mq_rq_ctx_init, and the rest into
blk_mq_get_request.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
block/blk-mq.h