Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752644AbbDRKHh (ORCPT ); Sat, 18 Apr 2015 06:07:37 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:43206 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752052AbbDRKHf (ORCPT ); Sat, 18 Apr 2015 06:07:35 -0400 X-AuditID: cbfee61b-f79536d000000f1f-f0-55322ce54bd4 From: Chao Yu To: Jaegeuk Kim , Changman Lee Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] f2fs: make has_fsynced_inode static Date: Sat, 18 Apr 2015 18:06:49 +0800 Message-id: <007d01d079bf$7b2f0d60$718d2820$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: AdB5v14lnD/gztbuQCCicwqR2JLilA== Content-language: zh-cn X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrELMWRmVeSWpSXmKPExsVy+t9jAd2nOkahBn/6tS2u7Wtksniyfhaz xaVF7haXd81hc2Dx2LSqk81j94LPTB59W1YxenzeJBfAEsVlk5Kak1mWWqRvl8CV8WXhMfaC bZwVc44+ZWtg/MbexcjJISFgIvF4ynlGCFtM4sK99WxdjFwcQgKLGCW67nxgA0kICbxilPj8 VhjEZhNQkVje8Z8JxBYR8JKYtP8EC4jNLOAh0djxnRXEFhawkHh7djFYnEVAVWLXof/MIDav gKXE5pf32SBsQYkfk+9B9WpJrN95nAnClpfYvOYtM8RBChI7zr5mhNilJ9F8q5URokZcYuOR WywTGAVmIRk1C8moWUhGzULSsoCRZRWjaGpBckFxUnqukV5xYm5xaV66XnJ+7iZGcEg/k97B uKrB4hCjAAejEg+vwTvDUCHWxLLiytxDjBIczEoivBsVjEKFeFMSK6tSi/Lji0pzUosPMUpz sCiJ887RlQsVEkhPLEnNTk0tSC2CyTJxcEo1MCpLvV6py202Ycsh229ed0KMFu49GHbg9uPz Gxo/S75e7NUj695t92r19sPLu0ta47LeSCe1bY+ona/3fe+y50nfEzXeZBzz4NXR8Fmic2SB R/aBMM45+8t65k5eVFwR/D4+797SC0t7ZdN2PFi3Z8ETMXuf7Gd2Wp6az80Co190vnCL33j9 vLoSS3FGoqEWc1FxIgA4yEzHZQIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1414 Lines: 42 has_fsynced_inode() has no other caller out of node.c, make it static. Signed-off-by: Chao Yu --- fs/f2fs/f2fs.h | 1 - fs/f2fs/node.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 5cf7e9f..9fd730a 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1506,7 +1506,6 @@ struct node_info; bool available_free_memory(struct f2fs_sb_info *, int); bool is_checkpointed_node(struct f2fs_sb_info *, nid_t); -bool has_fsynced_inode(struct f2fs_sb_info *, nid_t); bool need_inode_block_update(struct f2fs_sb_info *, nid_t); void get_node_info(struct f2fs_sb_info *, nid_t, struct node_info *); int get_dnode_of_data(struct dnode_of_data *, pgoff_t, int); diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 8ab0cf1..1676c7a 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -209,7 +209,7 @@ bool is_checkpointed_node(struct f2fs_sb_info *sbi, nid_t nid) return is_cp; } -bool has_fsynced_inode(struct f2fs_sb_info *sbi, nid_t ino) +static bool has_fsynced_inode(struct f2fs_sb_info *sbi, nid_t ino) { struct f2fs_nm_info *nm_i = NM_I(sbi); struct nat_entry *e; -- 2.3.3 -- 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/