• T
    block: restructure get_request() · b679281a
    Tejun Heo 提交于
    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: NTejun Heo <tj@kernel.org>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Signed-off-by: NJens Axboe <axboe@kernel.dk>
    b679281a
blk-core.c 77.9 KB