Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751920AbaDQPxY (ORCPT ); Thu, 17 Apr 2014 11:53:24 -0400 Received: from mailrelay012.isp.belgacom.be ([195.238.6.179]:24733 "EHLO mailrelay012.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753823AbaDQPw7 (ORCPT ); Thu, 17 Apr 2014 11:52:59 -0400 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApEUAGD4T1Nbsma4/2dsb2JhbABZgwaCTKhMmVYCAoEkF3SCZhwjGIECJBOIAAHLMY1+ZIQ/AQOOaIoFAYpqh2ODMzuBLA Date: Thu, 17 Apr 2014 17:51:06 +0200 From: Fabian Frederick To: linux-kernel Cc: Jaegeuk Kim , akpm Subject: [PATCH 1/1] fs/f2fs/checkpoint.c: add static to get_max_meta_blks Message-Id: <20140417175106.4a4513c8df1304bdb8519a63@skynet.be> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org inline get_max_meta_blks is only used in checkpoint.c Use standard static inline format. Cc: Jaegeuk Kim Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/f2fs/checkpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 4aa521a..45c087c 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/checkpoint.c @@ -73,7 +73,7 @@ out: return page; } -inline int get_max_meta_blks(struct f2fs_sb_info *sbi, int type) +static inline int get_max_meta_blks(struct f2fs_sb_info *sbi, int type) { switch (type) { case META_NAT: -- 1.8.4.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/