aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-11-22 11:13:42 +0800
committerGreg Wallace <greg@gregtwallace.com>2016-01-19 22:00:51 -0500
commitf9c29e73210212e7c041934ca0f97d80764d0554 (patch)
tree2836f68fc39d6435b68d40eaeb7d09248ed168ca
parent3e88e810119388d471be19edcd8f6ae14fe79744 (diff)
downloadandroid_external_f2fs-tools-f9c29e73210212e7c041934ca0f97d80764d0554.tar.gz
android_external_f2fs-tools-f9c29e73210212e7c041934ca0f97d80764d0554.tar.bz2
android_external_f2fs-tools-f9c29e73210212e7c041934ca0f97d80764d0554.zip
fsck.f2fs: declare static function
This avoids the following warning. mount.c:783:27: warning: SM_I is static but used in inline function check_seg_range which is not static. Change-Id: I1321fc29bbfc5b6e1c966d1537a12b0758ac3a50 Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r--fsck/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck/mount.c b/fsck/mount.c
index 649940d..ae3065f 100644
--- a/fsck/mount.c
+++ b/fsck/mount.c
@@ -778,7 +778,7 @@ static void build_curseg(struct f2fs_sb_info *sbi)
restore_curseg_summaries(sbi);
}
-inline void check_seg_range(struct f2fs_sb_info *sbi, unsigned int segno)
+static inline void check_seg_range(struct f2fs_sb_info *sbi, unsigned int segno)
{
unsigned int end_segno = SM_I(sbi)->segment_count - 1;
ASSERT(segno <= end_segno);