Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751543AbcJAOvx (ORCPT ); Sat, 1 Oct 2016 10:51:53 -0400 Received: from mout.web.de ([217.72.192.78]:58222 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750831AbcJAOvo (ORCPT ); Sat, 1 Oct 2016 10:51:44 -0400 Subject: [PATCH 06/15] md-cluster: Rename a jump label in recv_daemon() 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: Date: Sat, 1 Oct 2016 16:51:04 +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:PL+78uq4uTEG654OHzJ85b/HPnc1TQPd1+iekJhGJx4Aa/xzT9t +Tp6ktI7WLTigjmWiy1pyobfJy3xZxdLGuoCYU51ygDzdba7Wmsgf1YMFNA7CxCe9W0bivO va8kbwhu17MjSDuZiYnL2AjyEzynofmEajypNVwCvIl+q7qLwA0ovjqd5zUq3T1XksRcElh SM5acJvmHAFSNVq0G3iNw== X-UI-Out-Filterresults: notjunk:1;V01:K0:iJQwlMCgB8U=:pB1u/3xYlecluooLQy3nhY YnAXCRmYzYKV0+do3aXgSbgyaIywF/ocdjMRIr4RCkX6pseWnqVfu0uKwyic70e8r86xBuGb/ nKH8VOfea8wCr8dPNT45sAA2+OMkg/4m5jHLfPZ4fLKeVB134sEoAjckzM+ZLcfneoD6GvpOe 2KWyKh4sE9mNuFh+E68NfE//HkhzMMD89Rv4W/Oa8WCFD25VfCMT5MOGcOgcT7J5pRDTMOKKc T6oe4hafagwNKQGSoumGDQsg+X8ozrvrYFNIqUWOYkZh+iAOKg6JsVQMYPICOf/de06jCUTMh CNt/JaC7CdAO+5FRAHS3+7d8emAhPpYYzgzF0Y7Kv82BgS8uUMqTVeVxn1W2f4JnWxF1MBdbF PnBLRhe0fv06s2RgvHdjs2BmLeFdlvGPpNcqSBuJyrjaiDYXbw4RvJEunnWfURbUAJDmujUch Fox8uFE8KN+6J/u0WHbAITnP9cIJAtyhMr0nMvcpfCNjZvB54ZhE5K4cqaHl+qwDXNxtQs3Rh NfRSO+yG3ZyaI4nSM/B3KHf+hI37zUh0rctQKGPkd7wjv+zfhHSLjRyH0SalXkjg+U2IVRUo9 kwfKR+oRzcx3MZlydX0Ab0Ro1NV3CQuM/YSC6VSvk1arEDUCnG3cZNW4/hoMCbppNFXR7VsaB kaKp2LcFh2sHqq0eyI+4jP2N+1vFN8Buq6GpWKT0gB+qjyJUV0QLQwTacBGdvGqoxAUPtj1a3 BVEzOR0kQJEX5780yvC6ubKdz0agOtx1rlUB/PTfkgoR4+bt+6KusMXPtQhFl6l2r3uTDTu8p 41cP/hx Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1084 Lines: 34 From: Markus Elfring Date: Sat, 1 Oct 2016 12:36:30 +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 adf9555..94835b5 100644 --- a/drivers/md/md-cluster.c +++ b/drivers/md/md-cluster.c @@ -620,7 +620,7 @@ static void recv_daemon(struct md_thread *thread) memcpy(&msg, message_lockres->lksb.sb_lvbptr, sizeof(msg)); ret = process_recvd_msg(thread->mddev, &msg); if (ret) - goto out; + goto unlock; /*release CR on ack_lockres*/ ret = dlm_unlock_sync(ack_lockres); @@ -634,7 +634,7 @@ static void recv_daemon(struct md_thread *thread) ret = dlm_lock_sync(ack_lockres, DLM_LOCK_CR); if (unlikely(ret != 0)) pr_info("lock CR on ack failed return %d\n", ret); -out: +unlock: /*release CR on message_lockres*/ ret = dlm_unlock_sync(message_lockres); if (unlikely(ret != 0)) -- 2.10.0