diff options
author | Tejun Heo <tj@kernel.org> | 2012-03-05 22:15:23 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-03-06 21:27:24 +0100 |
commit | b679281a6410676a41b175c5a185150a1ae42f9d (patch) | |
tree | f3966a921a4c07ebf80d57a46a80ef0a71e8354a /block/blk.h | |
parent | blkcg: drop unnecessary RCU locking (diff) | |
download | linux-b679281a6410676a41b175c5a185150a1ae42f9d.tar.xz linux-b679281a6410676a41b175c5a185150a1ae42f9d.zip |
block: restructure get_request()
get_request() is structured a bit unusually in that failure path is
inlined in the usual flow with goto labels atop and inside it.
Relocate the error path to the end of the function.
This is to prepare for icq handling changes in get_request() and
doesn't introduce any behavior change.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions