]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit546d812a0e768de2f7045f36c55aa832a246ef92
tree7607431cfe22086dadbf8c74f2b25ee8555f5bbd
parent1b59fdf7264e3d33d3d8508340788345d89a632e
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