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>
Mon, 30 Mar 2015 18:54:49 +0000 (12:54 -0600)
commit9af09bb4ab34079c71bf4ae983d459d77d1a3827
tree70e41f33f1514953e1f3f5e43be68e14785a5779
parent9c118cb019192a4fed8d9b258d8e95622746f4e1
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