lkml.org 
[lkml]   [2016]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 34/47] block-rbd: Rename a jump label in rbd_img_obj_callback()
    From
    Date
    From: Markus Elfring <elfring@users.sourceforge.net>
    Date: Mon, 12 Sep 2016 19:51:29 +0200

    Adjust a jump label according to the current Linux coding style convention.

    Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
    ---
    drivers/block/rbd.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c
    index 34ccbf1..c349975 100644
    --- a/drivers/block/rbd.c
    +++ b/drivers/block/rbd.c
    @@ -2394,7 +2394,7 @@ static void rbd_img_obj_callback(struct rbd_obj_request *obj_request)

    spin_lock_irq(&img_request->completion_lock);
    if (which != img_request->next_completion)
    - goto out;
    + goto unlock;

    for_each_obj_request_from(img_request, obj_request) {
    rbd_assert(more);
    @@ -2408,7 +2408,7 @@ static void rbd_img_obj_callback(struct rbd_obj_request *obj_request)

    rbd_assert(more ^ (which == img_request->obj_request_count));
    img_request->next_completion = which;
    -out:
    + unlock:
    spin_unlock_irq(&img_request->completion_lock);
    rbd_img_request_put(img_request);

    --
    2.10.0
    \
     
     \ /
      Last update: 2016-09-17 09:59    [W:4.042 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site