From patchwork Tue Feb 2 06:46:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 8187111 Return-Path: X-Original-To: patchwork-ocfs2-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 86241BEEE5 for ; Tue, 2 Feb 2016 06:47:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C03F6201C0 for ; Tue, 2 Feb 2016 06:47:55 +0000 (UTC) Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CC544201B4 for ; Tue, 2 Feb 2016 06:47:54 +0000 (UTC) Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u126lZlb021192 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 2 Feb 2016 06:47:36 GMT Received: from oss.oracle.com (oss-old-reserved.oracle.com [137.254.22.2]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u126lUMt011163 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Feb 2016 06:47:33 GMT Received: from localhost ([127.0.0.1] helo=lb-oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1aQUkM-0007yj-G0; Mon, 01 Feb 2016 22:47:30 -0800 Received: from aserv0021.oracle.com ([141.146.126.233]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1aQUjw-0007xW-1h for ocfs2-devel@oss.oracle.com; Mon, 01 Feb 2016 22:47:04 -0800 Received: from aserp1020.oracle.com (aserp1020.oracle.com [141.146.126.67]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u126l3kI011534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 2 Feb 2016 06:47:03 GMT Received: from userp2040.oracle.com (userp2040.oracle.com [156.151.31.90]) by aserp1020.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u126l3tf002471 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 2 Feb 2016 06:47:03 GMT Authentication-Results: aserp1020.oracle.com; dkim=pass reason="2048-bit key" header.d=gmail.com header.i=@gmail.com header.b=uCQA/drE Received: from pps.filterd (userp2040.oracle.com [127.0.0.1]) by userp2040.oracle.com (8.15.0.59/8.15.0.59) with SMTP id u126kWBi043264 for ; Tue, 2 Feb 2016 06:47:02 GMT Received: from mail-pf0-f173.google.com (mail-pf0-f173.google.com [209.85.192.173]) by userp2040.oracle.com with ESMTP id 20rksth8bs-1 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Tue, 02 Feb 2016 06:47:02 +0000 Received: by mail-pf0-f173.google.com with SMTP id n128so97176911pfn.3 for ; Mon, 01 Feb 2016 22:47:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-type:content-transfer-encoding; bh=6FzpJWgsoEb2yGElvFyF9y730izjsw17DBt0/V77b3M=; b=d2JkDsvSz/wbCoDZorb/qYqkft1GUAsi24jY+f66tyKOsUNKqrYdA0dZwfN04hZkVT Er09wZ0tTUUidbaAkDqlytJrzDHLTR/TUvT5l8PXtBqTNdLXjO14w9D51jdsHbgJ++JI OE14whmkZODH5rOHr5ARXrdHZzEbmn17K5/qeqqyWlV+lGSWLrjbq0BGthWIIaw8sdhp MhpYtO4zgvrkFubA95rF3b6pTRR0Ft3ZO9AmvT9idxXOThO1G6tv3H/1p9Xfzgf3qSbK 6DMA71qEAJvjwXGltBKlkWtDD43lPN9Q8S5Rd5iSXnN6VeoFRU+8kBBDkLu23vQCab1D +zYg== X-Gm-Message-State: AG10YOQucinded07Qe7uP+n9Hfnfcj4Fe08JWwPPJULCX551wx31EFdcRnNuuKb+yiP1Zw== X-Received: by 10.98.71.92 with SMTP id u89mr16256389pfa.122.1454395621413; Mon, 01 Feb 2016 22:47:01 -0800 (PST) Received: from sudip-pc.vectortproxy.org ([183.82.228.136]) by smtp.gmail.com with ESMTPSA id dg12sm47926724pac.47.2016.02.01.22.46.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Feb 2016 22:47:00 -0800 (PST) From: Sudip Mukherjee To: Mark Fasheh , Joel Becker Date: Tue, 2 Feb 2016 12:16:53 +0530 Message-Id: <1454395613-3428-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Proofpoint-SPF-Result: pass X-Proofpoint-SPF-Record: v=spf1 redirect=_spf.google.com X-ServerName: mail-pf0-f173.google.com X-Proofpoint-Virus-Version: vendor=nai engine=5800 definitions=8062 signatures=670686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1601100000 definitions=main-1602020125 X-MIME-Autoconverted: from 8bit to quoted-printable by aserv0021.oracle.com id u126l3kI011534 Cc: linux-kernel@vger.kernel.org, ocfs2-devel@oss.oracle.com, Sudip Mukherjee Subject: [Ocfs2-devel] [PATCH] ocfs2: fix build warning X-BeenThere: ocfs2-devel@oss.oracle.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ocfs2-devel-bounces@oss.oracle.com Errors-To: ocfs2-devel-bounces@oss.oracle.com X-Source-IP: userv0022.oracle.com [156.151.31.74] X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We were getting build warning about: /fs/ocfs2/file.c: In function ‘ocfs2_file_write_iter’: fs/ocfs2/file.c:2198:1: warning: label ‘relock’ defined but not used The previous commit has cleaned up the code for direct io and removed the jump instruction to relock, but missed removing the label which is unused now. Fixes: 1a46f12e5071 ("ocfs2: code clean up for direct io") Cc: Ryan Ding Signed-off-by: Sudip Mukherjee Reviewed-by: Ryan Ding --- fs/ocfs2/file.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index 41c506e..c18ab45 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".