Commit 17a0ee55 authored by Jaegeuk Kim's avatar Jaegeuk Kim

f2fs: declare static functions

Just to avoid sparse warnings.
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 43b6573b
...@@ -1101,7 +1101,7 @@ void ra_node_page(struct f2fs_sb_info *sbi, nid_t nid) ...@@ -1101,7 +1101,7 @@ void ra_node_page(struct f2fs_sb_info *sbi, nid_t nid)
/* /*
* readahead MAX_RA_NODE number of node pages. * 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 f2fs_sb_info *sbi = F2FS_P_SB(parent);
struct blk_plug plug; struct blk_plug plug;
...@@ -1121,7 +1121,7 @@ void ra_node_pages(struct page *parent, int start) ...@@ -1121,7 +1121,7 @@ void ra_node_pages(struct page *parent, int start)
blk_finish_plug(&plug); 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 *parent, int start)
{ {
struct page *page; struct page *page;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment