[PATCH 34/47] block-rbd: Rename a jump label in rbd_img_obj_callback()

SF Markus Elfring
2016-09-12T19:23:19Z

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