Messages in this thread Patch in this message |  | | Subject | [PATCH 12/15] md-cluster: Rename a jump label in area_resyncing() | From | SF Markus Elfring <> | Date | Sat, 1 Oct 2016 16:57:28 +0200 |
| |
From: Markus Elfring <elfring@users.sourceforge.net> 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 <elfring@users.sourceforge.net> --- 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
|  |