blk-mq: merge blk_mq_alloc_reserved_request into blk_mq_alloc_request
authorChristoph Hellwig <hch@lst.de>
Tue, 27 May 2014 18:59:46 +0000 (20:59 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 28 May 2014 15:49:19 +0000 (09:49 -0600)
commit4ce01dd1a07d9cf3eaf44fbf4ea9a61b11badccc
treed3314a1d9affb10f9397d4351df26f4a95a5f047
parent6fca6a611c27f1f0d90fbe1cc3c229dbf8c09e48
blk-mq: merge blk_mq_alloc_reserved_request into blk_mq_alloc_request

Instead of having two almost identical copies of the same code just let
the callers pass in the reserved flag directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c
block/blk-mq.c
include/linux/blk-mq.h