diff options
| author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-03-08 09:04:35 -0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:33:12 +0200 |
| commit | bc4529a33bf1ea46752dc3309603c9723186bd17 (patch) | |
| tree | d6c60cea15c0e583c4f62213e8d222167e6156c0 /fs | |
| parent | 6caf1f06dd2b426ca88a25a0f7a7256d42ff638a (diff) | |
f2fs: declare static functions
Just to avoid sparse warnings.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/f2fs/node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 0be74a718..5af3c7279 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; @@ -1120,7 +1120,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; |
