summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorJaegeuk Kim2016-03-08 18:04:35 +0100
committerJaegeuk Kim2016-03-18 05:19:44 +0100
commit17a0ee552c4a4310b351b281098454a00e0e8034 (patch)
tree73980046bf7ca1eaed6f13edbd27a5cdc8cba40d /fs/f2fs/node.c
parentf2fs: use cryptoapi crc32 functions (diff)
downloadkernel-qcow2-linux-17a0ee552c4a4310b351b281098454a00e0e8034.tar.gz
kernel-qcow2-linux-17a0ee552c4a4310b351b281098454a00e0e8034.tar.xz
kernel-qcow2-linux-17a0ee552c4a4310b351b281098454a00e0e8034.zip
f2fs: declare static functions
Just to avoid sparse warnings. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/node.c')
-rw-r--r--fs/f2fs/node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index 7b805f7f6340..771166d6dfa6 100644
--- a/fs/f2fs/node.c
+++ b/fs/f2fs/node.c
@@ -1101,7 +1101,7 @@ void ra_node_page(struct f2fs_sb_info *sbi, nid_t nid)
/*
* readahead MAX_RA_NODE number of node pages.
*/
-void ra_node_pages(struct page *parent, int start)
+static void ra_node_pages(struct page *parent, int start)
{
struct f2fs_sb_info *sbi = F2FS_P_SB(parent);
struct blk_plug plug;
@@ -1121,7 +1121,7 @@ void ra_node_pages(struct page *parent, int start)
blk_finish_plug(&plug);
}
-struct page *__get_node_page(struct f2fs_sb_info *sbi, pgoff_t nid,
+static struct page *__get_node_page(struct f2fs_sb_info *sbi, pgoff_t nid,
struct page *parent, int start)
{
struct page *page;