From patchwork Tue Sep 26 07:14:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 114228 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp3508209qgf; Tue, 26 Sep 2017 00:16:34 -0700 (PDT) X-Received: by 10.99.126.84 with SMTP id o20mr10075595pgn.129.1506410193921; Tue, 26 Sep 2017 00:16:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506410193; cv=none; d=google.com; s=arc-20160816; b=KQVgmHn4Pjd571SL6znZzNITqtvM/Klh3C3fUIByA7nynDarew+hN7YuK7MYzUPFoR Wq/GRPnL8DomXIv+r9YqrD2ox9GMxvya9n3+jXRqPEEuGwaVdrFH1c3AyjdfuRGhg3rG d5K7yILUDYqCKrz8L4Dm41/jHj+l4cr9qNpxJQxt5lK/XEnL7icCyhYVWWAgCC3WRtXy ivX93g2VVi44R3ockKkU0p5Eqb1LvyLEvL6OvIRVNCUwUhvFdJernrNdWXf3mHanBO+v TtCYG5MYJ0xJQEqOe3AIcRT+vEAiMxZ7nppMfAzjxhIuyXKGgbD82FlSMOTvE9qLG5F1 QfYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=WyTAeIJn3vQYbVC+udiZYWPiDFSO7bj5h9marWQm3tI=; b=uiyHb4txSu+PbKsWtXqg7Ccskt1b6TocGPic2VJu9DMVJDpGJwU4+cHsBvYKXPlWJu zMh4iC7aKbGkxQ1mCSY/6InUF35UzcCpYVY1LpT+BBFcDnb58TVKmCrtH2RvbyN82OWn GVdl0mQwZGItUnNKaA6nAfsb1COwtRQgFxUz/qzH5rucxG+LcWc6RUEYuo46T1qYHL4y GrvYnQzdkMcP+MAqVL5as7WOL/pfXueP+3qfPHAJH4yZmkiSO+ZAUQUNE0ROuTJ17OKD 6x+Qj8L6x5h0ZOqflAH3OkTkJ3AptN/XQ//LGEsTwO20Gd0epql7jfImEVMO8PBuo3Yd ztdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tHZIL3XS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v126si5226906pfv.10.2017.09.26.00.16.33; Tue, 26 Sep 2017 00:16:33 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tHZIL3XS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966894AbdIZHQa (ORCPT + 26 others); Tue, 26 Sep 2017 03:16:30 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34725 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966725AbdIZHQT (ORCPT ); Tue, 26 Sep 2017 03:16:19 -0400 Received: by mail-wm0-f65.google.com with SMTP id i131so8576153wma.1; Tue, 26 Sep 2017 00:16:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WyTAeIJn3vQYbVC+udiZYWPiDFSO7bj5h9marWQm3tI=; b=tHZIL3XS2Fiw1EpWQ2KQlgS77Q/mWeNSSAODx7DFUoTXXFo+9EIU4gJzRgBy7+OwdF aYAGjwsg+1YibupKtxI2/R34fbMASQRtWCbK7fkmf3it8Ydf4MwStb1z3Mr7NN2Lm1ep 9Aspw8dUXRgAY2lV1NSWGniWkLZGfjsVuy37QB13AUJhCEYjfPM1uynKhAYfx/5O3050 7WVC0vz31fsyeKOgsfs3JEMaJHy2UFsInaOs/Oz6Oj6MZ76nTRv+ZodUOqJGUkhnlH/j bAXEFsr413gYTBViyfF8qDBUSh25CAIy1KF6a8UXcUckGka/8oS7kbaIn7bWJsR9YZmv TNlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=WyTAeIJn3vQYbVC+udiZYWPiDFSO7bj5h9marWQm3tI=; b=dKh9UC0Yv6BE3AvrDMcv+hV3BTnU/wLQ2PzZRFCCCPzPlykZE7/+5++WYJNwR9DGCe ejOYRPM0bq9M/scGkcvCi1nHBRBWwidruoJTWHN38rohECDBk8kOlQl4u3cw4jgXJftN KSqAyrPlSdwkk4q9FgSghFd3P0/iCHoIOkw6AbT3hyaJghK8XeNEIVMy3TMI4+bVL7QN +qrPUtrL/KMvYsJkFdtzbZpkCN8aw2POfBtiSk0VIgs+Cei04OElraU719NpqH5i/adm FyHbJzovimo7o66WbsfHNca732b2w7AKD8p3fSBKcwGNjD2MA8Hno421WFwMMCjo8Yi8 tnzw== X-Gm-Message-State: AHPjjUi2lbOiV+VnNmVzwERzD+N3IHQHiqhhPnIDj5MTpFLR40eTu86g T9SGHRJlOMhCKYzCRKN/MWA= X-Google-Smtp-Source: AOwi7QBVWk8N8RKtNSllAYdCvtrBKZh6U08jEcwQXDSbt+VyWnBTCrJq1M4jQsUUijxNnSw8cBv2BA== X-Received: by 10.28.129.23 with SMTP id c23mr2580548wmd.27.1506410177753; Tue, 26 Sep 2017 00:16:17 -0700 (PDT) Received: from Red.local (LFbn-MAR-1-580-96.w90-118.abo.wanadoo.fr. [90.118.159.96]) by smtp.googlemail.com with ESMTPSA id l91sm11640031wrc.16.2017.09.26.00.16.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Sep 2017 00:16:17 -0700 (PDT) From: Corentin Labbe To: trond.myklebust@primarydata.com, anna.schumaker@netapp.com, bfields@fieldses.org, jlayton@poochiereds.net, viro@zeniv.linux.org.uk Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Corentin Labbe Subject: [PATCH 1/3] nfs_common: fix build warning in grace.c Date: Tue, 26 Sep 2017 09:14:05 +0200 Message-Id: <20170926071407.31719-2-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170926071407.31719-1-clabbe.montjoie@gmail.com> References: <20170926071407.31719-1-clabbe.montjoie@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This fix the following warning fs/nfs_common/grace.c:66:1: warning: no previous prototype for function '__state_in_grace' [-Wmissing-prototypes] by adding the missing static. Signed-off-by: Corentin Labbe --- fs/nfs_common/grace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.13.5 diff --git a/fs/nfs_common/grace.c b/fs/nfs_common/grace.c index 420d3a0ab258..519396967e79 100644 --- a/fs/nfs_common/grace.c +++ b/fs/nfs_common/grace.c @@ -62,7 +62,7 @@ EXPORT_SYMBOL_GPL(locks_end_grace); * to answer ordinary lock requests, and when they should accept only * lock reclaims. */ -int +static int __state_in_grace(struct net *net, bool open) { struct list_head *grace_list = net_generic(net, grace_net_id);