From: Markus Elfring <[email protected]>
Date: Sat, 1 Oct 2016 14:38:12 +0200

Adjust a jump label according to the Linux coding style convention

Signed-off-by: Markus Elfring <[email protected]>
---
 drivers/md/md-cluster.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/md/md-cluster.c b/drivers/md/md-cluster.c
index 7f82c6b..e1ebcc4 100644
--- a/drivers/md/md-cluster.c
+++ b/drivers/md/md-cluster.c
@@ -1085,13 +1085,13 @@ static int area_resyncing(struct mddev *mddev, int 
direction,
 
        spin_lock_irq(&cinfo->suspend_lock);
        if (list_empty(&cinfo->suspend_list))
-               goto out;
+               goto unlock;
        list_for_each_entry(s, &cinfo->suspend_list, list)
                if (hi > s->lo && lo < s->hi) {
                        ret = 1;
                        break;
                }
-out:
+unlock:
        spin_unlock_irq(&cinfo->suspend_lock);
        return ret;
 }
-- 
2.10.0

Reply via email to