aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-04-17 11:51:06 -0400
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2014-05-06 21:21:55 -0400
commitb49ad51e6d4fa665a0ab587798d36bebfdfa54a9 (patch)
tree8a106fe69c67c70ff3dd9660b902461ba0baceeb
parent94dac22e72e891b16e8e8abbdb6df10f322d20e0 (diff)
f2fs: add static to get_max_meta_blks
inline get_max_meta_blks is only used in checkpoint.c Use standard static inline format. Cc: Jaegeuk Kim <jaegeuk.kim@samsung.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
-rw-r--r--fs/f2fs/checkpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index 744c68be2e15..1346ce916b84 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -73,7 +73,7 @@ out:
73 return page; 73 return page;
74} 74}
75 75
76inline int get_max_meta_blks(struct f2fs_sb_info *sbi, int type) 76static inline int get_max_meta_blks(struct f2fs_sb_info *sbi, int type)
77{ 77{
78 switch (type) { 78 switch (type) {
79 case META_NAT: 79 case META_NAT: