Received: by 10.192.165.148 with SMTP id m20csp2076756imm; Sat, 21 Apr 2018 23:33:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx48non43Q5wxtjIUyNg/04BYtAoVONIpPB3zLknuw5a2rutSwOi0FYqluV2mJvtd+5KLqR3b X-Received: by 10.98.205.69 with SMTP id o66mr15531358pfg.34.1524378835553; Sat, 21 Apr 2018 23:33:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524378835; cv=none; d=google.com; s=arc-20160816; b=xGvEWTr44WWNi5PY4dd2BFvupcdhgr8BD15a14JFVIbdcTzOsaVKEeDEIcvzeOWGzJ 01LmdL1WZkVEj5ITEVo3+zjbHwosvbzbqB4jV3+zJALr8T293qzXJbfIbe/+7/YhzITC kQ8jZd5mWV0weACvJg5w23IUaQzH3z6pvCv97+O43HmzEU/94lhCWTAK1nCG5LFSomv+ Ter7IqOVFIzylNWR702x3wXHe5Gsn+B2KJc8Eho16IEh/LdRGYyscoq9cHf6vaRdgVdQ Fd2o+aJn0gJlvdRHmrwH7LqpYxjkIeXAsnS8fg2qH6ZspJdwf6iIxOkREVxLeOpbJzBL ZpsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=sWvEMaIGu8DTmZZGVgm/ZGnWXjFfPz5JURLat5IdgdQ=; b=uqd5txDAJb9vSXw2BvfFnWCI8MVEWsGwveOLjXmzf4nt1pcNUkCKN8xKI8juwwvcSx Zd5cRtWyjJ8qe3ARYOy2jX2eHnLR16q5pdE0m6M6ydTaE6kRNz85QzAnZjMX/ZQojPvx 4CfIy3DbXMuFcXkNo31cjy7PNZu9ZrYVtajLtkK8tyYR0STwmjQkCMasHMbJeH9JSuU4 z/NspQg8sxkPClQ6MRlMMx5tohJPERYzBW/SA1KCTBHxLabcY0cJrJ92ZY0KHUUj2XHi ktP6gsuXI4+I2y+Hl9ZehpP7QmnFllJpa15DBcbr/cuFQsshxHHT4UYLgdsIM6lptOWo Gl9A== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x8-v6si8943179plw.251.2018.04.21.23.33.40; Sat, 21 Apr 2018 23:33:55 -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; 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 S1751244AbeDVGbO (ORCPT + 99 others); Sun, 22 Apr 2018 02:31:14 -0400 Received: from mga06.intel.com ([134.134.136.31]:64017 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750827AbeDVGbN (ORCPT ); Sun, 22 Apr 2018 02:31:13 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Apr 2018 23:31:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,310,1520924400"; d="scan'208";a="48896952" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 21 Apr 2018 23:31:11 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fA8Wk-000F48-FZ; Sun, 22 Apr 2018 14:31:10 +0800 Date: Sun, 22 Apr 2018 14:31:09 +0800 From: kbuild test robot To: Chao Yu Cc: kbuild-all@01.org, jaegeuk@kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, chao@kernel.org, Chao Yu Subject: [RFC PATCH] f2fs: load_nat_block() can be static Message-ID: <20180422063109.GA10531@lkp-wsm-ep2> References: <20180420015231.90679-1-yuchao0@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180420015231.90679-1-yuchao0@huawei.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes: c20dcf3ce26e ("f2fs: sepearte hot/cold in free nid") Signed-off-by: Fengguang Wu --- node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index fa09baa..ff9b682 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -2031,7 +2031,7 @@ static void scan_free_nid_bits(struct f2fs_sb_info *sbi, enum nid_state state) up_read(&nm_i->nat_tree_lock); } -void load_nat_block(struct f2fs_sb_info *sbi, enum nid_state state) +static void load_nat_block(struct f2fs_sb_info *sbi, enum nid_state state) { struct f2fs_nm_info *nm_i = NM_I(sbi); unsigned int nat_ofs;