From patchwork Mon Feb 1 16:23:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101006 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp122737lbb; Mon, 1 Feb 2016 08:24:29 -0800 (PST) X-Received: by 10.98.87.81 with SMTP id l78mr39757819pfb.101.1454343869762; Mon, 01 Feb 2016 08:24:29 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o5si41357269pfi.36.2016.02.01.08.24.29; Mon, 01 Feb 2016 08:24:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753249AbcBAQY1 (ORCPT + 30 others); Mon, 1 Feb 2016 11:24:27 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:64156 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751814AbcBAQY0 (ORCPT ); Mon, 1 Feb 2016 11:24:26 -0500 Received: from wuerfel.localnet ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue002) with ESMTPSA (Nemesis) id 0MSUvb-1aWAAm2ALz-00TXVQ; Mon, 01 Feb 2016 17:23:43 +0100 From: Arnd Bergmann To: Andrew Morton Cc: Ryan Ding , Junxiao Bi , Joseph Qi , Mark Fasheh , Joel Becker , ocfs2-devel@oss.oracle.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ocfs2: remove unused label Date: Mon, 01 Feb 2016 17:23:39 +0100 Message-ID: <3477441.9K8aQAEjZq@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V03:K0:Kml0DR9QGCXCVVu54Esnw7EMmB6BDhH0kVlNG6V9Pp1Tnd2/uPz 1op34Oer75h6CXAPYERb4dJxAuQ11MjIjpluMhJz/EBmh6ASS6eDuExpxAOVZ+SQVFt4OQV GQcxlsLTt8fm9AQCRTQ5sR9ZJL9FnappPllAYzHFATT98KyvzLuR5Z7CPBNMz0ccneY74Rz p6hsaVE03JM+3uICrrTwQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:hqDOzapT+2c=:rD/qr9ef5/of+Ty3B7QfRr Q1L5Xn8bsY0nR72sb4N8vjjuIibAkCHWy1cBb+v6jgFclJwu7KHNq9ro5p6PWluD4r7l+AHLA qiIxWfCUJuLk5Lbn0YHq9OSCUVfAkjCgkZ349JfZsdENgGGbAt3W5RbnHTmeaO/+WZvNjZ70b PMAtXqCPHgZnFurxMNRu6J0K6xjGhPjdEGmxE8WZrm3B1xxlR6Kttx2My6BnqCGBTVghSj0MA 4Au2GLOeuSKNey6zI4eTHtd28vI89j4ZmRuAATNjIX2LKzqvvtIIxxJtB8MFp0uLdXnuOCvqR pFiFFA9hyKJduNEYmnKHC4RIl9WyScRlqvkvVVhS2F6ni76uu/o16xaiGTg/w/dJPoLwrUsGw PwQ28HPr87AsxDWlC+p7cH3olOYWFpTluzdH/w5iY/hI3G657pYkeYYsMl40FWrhfN0058fiY UrXSCjrx098aNfCN5JPbFPUcKXRR8atYvnskH7HeP9CR2/CQszeJfLQVZIDkgzISgccDrS3yJ N+drQDtmqK+u16aHuHVEd09PbPQvVUkbXW9mUoiEIxfyJskFVHKD5B7c9aF4taO/X17Myere5 mBrRBvh1ed+7tgwbvodbpfXPGTjR48FqdTHT++pd54YSzMEide2dfUVU71LSYBvo6c/qryVra WpdLlNRaCfHrbIy2BEZqMUJD7e2Ap9WgWp85fFtC5fpdK1egUE8esH5aOmtEMlQtUKEly0Uc5 ER7ImZAa7e+T2y1m Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A recent cleanup modified the ocfs2_file_write_iter function, which no longer uses its 'relock' label, as gcc warns: fs/ocfs2/file.c: In function 'ocfs2_file_write_iter': fs/ocfs2/file.c:2198:1: error: label 'relock' defined but not used [-Werror=unused-label] This removes the label as well. Signed-off-by: Arnd Bergmann Fixes: 1a46f12e5071 ("ocfs2: code clean up for direct io") --- Found on ARM randconfig builds on linux-next last week. diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index 41c506e7814e..c18ab45f8d21 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c @@ -2195,7 +2195,6 @@ static ssize_t ocfs2_file_write_iter(struct kiocb *iocb, inode_lock(inode); -relock: /* * Concurrent O_DIRECT writes are allowed with * mount_option "coherency=buffered".