Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751905AbcJAO5t (ORCPT ); Sat, 1 Oct 2016 10:57:49 -0400 Received: from mout.web.de ([212.227.17.11]:63219 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751201AbcJAO5k (ORCPT ); Sat, 1 Oct 2016 10:57:40 -0400 Subject: [PATCH 12/15] md-cluster: Rename a jump label in area_resyncing() To: linux-raid@vger.kernel.org, Guoqing Jiang , Shaohua Li References: <566ABCD9.1060404@users.sourceforge.net> <3a03df66-92ce-20fb-17f3-fb79b9d43c8e@users.sourceforge.net> Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Message-ID: <49a4ee61-0bbe-fa70-dba5-de1e1c08bbe0@users.sourceforge.net> Date: Sat, 1 Oct 2016 16:57:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <3a03df66-92ce-20fb-17f3-fb79b9d43c8e@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:6reRPQemDBmreXnEMC7iEc3kmWNW6vUMAHXMokdtEfLNTz4bETc OTop5mdyvnnKjqsITlI4FGd8/W7LB0oaJOSgdcUa9bZe40IZ7r8vW43EMQpeM9YCmmp1AOy KuMJjI891VR09A+DNajSD7Up1ZJZn1VLSUIBqn/z8dAcYvRZPG+KBDUVs7stDJjULLz64gh 186E6g4MohuEI52Mtuvpg== X-UI-Out-Filterresults: notjunk:1;V01:K0:wzqsZlPNKbM=:klOpKaZr5R3fy38aqlIdf9 Yg/2wJm64Sd/exqJHzXfNMICJz4sbce7wn848rXj4W1j71v9b1yhhRIL8GWDjMpzLXb5D46wt kO+Da5oBtq7ZTkHf3XTR1/mMQN1KrObL6wwgdgpCc7J7E7bAHE57aJH18tFARSpRHBkfiGReB LRNhzrpgBPUxL+LrHeQgTyYR5HWZwGMzeJSUaDeeWkC1Heq4Hrnj+vuWtLC184TMg2EsRk/cz hwKY89ae8Vd7pkNbCvmvsbUNao/fcQh33RO3Iwel462S0dk4pffYHK9M2Dte1M+SBv2Nba4yR ivzSE73ACwZY5rWOZI+npBrclnt+qg/vPmZcXWWb6yoTJss29cDB60RkLVyNLGPfc14ivRfN9 3xWUVo/lnkID1bZfsLYj5VkxjASg9LRxrWAujakzJnG0aDdXvLfN7Hz/wEEeXsFY7ms9jR2rI usZyEaqmxaTfg+3L4tY5jau1qgad4k1To6Iu2EhP8FEzlq0oWkc5L0StNrTB0IkpvmC/gOU0o +YsrgyIIHa/aQEHeBrZI7W4DVL+ukuZhv3MssKcNrLlegRlEwPAsvuQOhuzseefUsxROKyW4n w1s6wfo5zYSSP6I/oUPT/I3dwkqkDas1EvMyMvde17iFZjBVYVOOkAbPxy09X8EAa4Y+O+Of6 tPQMWnQwMVnkBx7jibKkX4XPx3M8g4MgHEl7ZP1bpQf1fg5Cdw8O2f5fDKQIERA22Mt/6MKSe 1ZwPZBXTzGxaFt8U5PkLAEdkRmHDl33JUEHqZVSFUspqGarYEj5xWcJlZghIQ6p05II/jrZhl ca+Y75L Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 859 Lines: 32 From: Markus Elfring 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 --- 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