Skip to content
  • Tejun Heo's avatar
    block: restructure get_request() · b679281a
    Tejun Heo authored
    
    
    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: default avatarTejun Heo <tj@kernel.org>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    b679281a