blk-mq: initialize request in __blk_mq_alloc_request
authorChristoph Hellwig <hch@lst.de>
Tue, 27 May 2014 18:59:47 +0000 (20:59 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 28 May 2014 15:49:21 +0000 (09:49 -0600)
commit5dee857720db15e2c8ef0c03f7eeac00c4c63cb2
tree7607431cfe22086dadbf8c74f2b25ee8555f5bbd
parent4ce01dd1a07d9cf3eaf44fbf4ea9a61b11badccc
blk-mq: initialize request in __blk_mq_alloc_request

Both callers if __blk_mq_alloc_request want to initialize the request, so
lift it into the common path.

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