]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
f2fs: add static to get_max_meta_blks
authorFabian Frederick <fabf@skynet.be>
Thu, 17 Apr 2014 15:51:06 +0000 (17:51 +0200)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 7 May 2014 01:21:55 +0000 (10:21 +0900)
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>
fs/f2fs/checkpoint.c

index 744c68be2e1540d8d7a566430116d07d1e90d45d..1346ce916b8484a0c2304817911e83bf19609373 100644 (file)
@@ -73,7 +73,7 @@ out:
        return page;
 }
 
-inline int get_max_meta_blks(struct f2fs_sb_info *sbi, int type)
+static inline int get_max_meta_blks(struct f2fs_sb_info *sbi, int type)
 {
        switch (type) {
        case META_NAT: