block: collapse blk_alloc_request() into get_request()
authorTejun Heo <tj@kernel.org>
Thu, 19 Apr 2012 23:29:21 +0000 (16:29 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 20 Apr 2012 08:06:40 +0000 (10:06 +0200)
commit29e2b09ab5fa790514d47838f3c05497130908b3
treeaa430587f78d90d3108c1885f8049da484631935
parentf9fcc2d3919b8eb575b3cee9274feefafb641bca
block: collapse blk_alloc_request() into get_request()

Allocation failure handling in get_request() is about to be updated.
To ease the update, collapse blk_alloc_request() into get_request().

This patch doesn't introduce any functional change.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c