Received: by 10.192.165.148 with SMTP id m20csp1476680imm; Sat, 5 May 2018 13:05:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqBlcWH+76tJPUP/wvMhIkxG6N4XfWtxAGfSpgvGiYjhJgYPJZxkT55+3rXZqpIHyTjonvh X-Received: by 10.98.156.13 with SMTP id f13mr30183110pfe.15.1525550725208; Sat, 05 May 2018 13:05:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525550725; cv=none; d=google.com; s=arc-20160816; b=RbUCIwD3TeXAntfycpfTBpnLY7Me6qnWWCtQTKyFuhw4QkgJnaWhrirWWQVwei6rEZ gJEjV3Jw8uQyU3CaGKJlWncLh7NYvrC/Py9QcKrIhTdfUaPUh9N0T5NcSNAGNt084HOI uH+Mw9Vl4HyKuWNafjZq92Da3Gl36zsayRZN1z0/fJea77VwV4EmTXlE+RiP36WNF3QM bGBlPNnyPqf0eIS9Nw0cOzzgfnDWuolhgS9Is/lcxErTDQ0IVYkJ2RXhCJ3NLxN7IqwJ tgFNjziBeCmFqtkEZjZKp2ALdZ/vFllAKQv/BR6i1T2I3zVgEYpGqBGwJFylaJPGM82C PJRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=9VsosN+Ba2eBzdePl7RivDLbsewbGzzu84hJuAroBaU=; b=T6aojaocXmSro3p9ufxmW1/43efMtAZv+BkB0Zm0zxEChPP1EOsFmXmu0v6A0dqPyh TU7oNsZBiA2uakwdDO468+E0EEuPY+PyHVPR3XXTg4tK07gubcxK+/pY6YXglNywPPEK u9hLaiv1wD9jBZ3MUaamkRKKpO9kKLJ7Nflwzvg65CgfhWIfHnApTPN/nt/1vuD9uFCV 6Gkh7yPfnoZ4qmPJYeNbVQ3ciBp0J1ZayFDdTbHKwaceS3nwr8VyooE8lfUGjErCpGcK dGdhuq9PSv6eO6g2/gbiAM3T8IiJI+wqQp4ebUVg0JlQojm4UHjr4oI2RFOuMVL+vyT0 uHgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=aXDhjL48; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c5-v6si18572682pll.449.2018.05.05.13.05.10; Sat, 05 May 2018 13:05:25 -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=fail header.i=@gmail.com header.s=20161025 header.b=aXDhjL48; 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 S1751847AbeEEUE6 (ORCPT + 99 others); Sat, 5 May 2018 16:04:58 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:44020 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751183AbeEEUE5 (ORCPT ); Sat, 5 May 2018 16:04:57 -0400 Received: by mail-wr0-f194.google.com with SMTP id v15-v6so24182774wrm.10; Sat, 05 May 2018 13:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9VsosN+Ba2eBzdePl7RivDLbsewbGzzu84hJuAroBaU=; b=aXDhjL48rr/RAhpxxU9cAzrmdkC/+hW/9V1F8p69WHaEqo3BRoZ9tRRwZblyL/P2eG b+OrgqvymnabRSsnXJK4mitY8PWU9f7sekAqf9bUkZfSGTCKbCeoDtT/ehsofsSTJr8G HxBQk0ovBrzPYGaNzMs6yzBPX4t6xL45Vv0mAgXiWA8OCQif1KJ/6XhcAIuRwF5f+WAP OI8+PxYYgpA+qnpyzWgtZArY862YsKtGxwZ7tE/2BDELdGT2B1wTGKdR0ZchdJJE86lC bMDnaaPQ0VcTH+fFR32YpW9RDjZTfW3ANfIpxwG35Yqav8G+khHw9/gjK9th9iWvAmC4 K7pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=9VsosN+Ba2eBzdePl7RivDLbsewbGzzu84hJuAroBaU=; b=aBI3icJf32xTZmKee0EumBrxzdBlx8c60908nOQhxlFrcFtoH5JyIC27WwpAQN0bat 3CpWB8UxQal43Hx92183R3mPCPL+9ktB77jt8HuKaXiAxTJZLAhzR8PT/iq9mgHakGms gbaupLpLX7LYvLX6VikfgiDgm3NqgO4bFjshWj1m5eyzdA8rffHiBRwMWovPSUVvETCx vEfsxygDOtLXSjgv7syhbhhFMN6qNceDSoc6GMPS+32CvLhRUQVgAyU2hZHPmwe9+g5T jO3G7QQiBRM+FWiBZYl46ZxpPElQkZXKMgFMyyoaoCjM3y7aKdmDvucSYy6/yq3ZEcYL yvHQ== X-Gm-Message-State: ALQs6tAHmiBfIIbo0vX332em4R2wQvjYxDlO6C4fcGT1NL+Yr+MkR1a3 dgx2fNxv8MDfI3Zdi/fRYuU= X-Received: by 2002:adf:9ed0:: with SMTP id b16-v6mr20217796wrf.170.1525550695753; Sat, 05 May 2018 13:04:55 -0700 (PDT) Received: from macbookpro.malat.net (bru31-1-78-225-226-121.fbx.proxad.net. [78.225.226.121]) by smtp.gmail.com with ESMTPSA id p33-v6sm24873873wrc.14.2018.05.05.13.04.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 May 2018 13:04:55 -0700 (PDT) Received: by macbookpro.malat.net (Postfix, from userid 1000) id 2DC8710C0604; Sat, 5 May 2018 22:04:54 +0200 (CEST) From: Mathieu Malaterre To: tytso@mit.edu Cc: Mathieu Malaterre , Andreas Dilger , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] =?UTF-8?q?ext4:=20make=20function=20=E2=80=98ext4=5Fgetfs?= =?UTF-8?q?map=5Ffind=5Ffixed=5Fmetadata=E2=80=99=20static?= Date: Sat, 5 May 2018 22:04:52 +0200 Message-Id: <20180505200452.18962-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since function ‘ext4_getfsmap_find_fixed_metadata’ can be made static, make it so. Remove the following gcc warning (W=1): fs/ext4/fsmap.c:405:5: warning: no previous prototype for ‘ext4_getfsmap_find_fixed_metadata’ [-Wmissing-prototypes] Signed-off-by: Mathieu Malaterre --- fs/ext4/fsmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ext4/fsmap.c b/fs/ext4/fsmap.c index e871c4bf18e9..4b99e2db95b8 100644 --- a/fs/ext4/fsmap.c +++ b/fs/ext4/fsmap.c @@ -402,8 +402,8 @@ static void ext4_getfsmap_free_fixed_metadata(struct list_head *meta_list) } /* Find all the fixed metadata in the filesystem. */ -int ext4_getfsmap_find_fixed_metadata(struct super_block *sb, - struct list_head *meta_list) +static int ext4_getfsmap_find_fixed_metadata(struct super_block *sb, + struct list_head *meta_list) { struct ext4_group_desc *gdp; ext4_group_t agno; -- 2.11.0