summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorYunlong Song <yunlong.song@huawei.com>2017-08-14 16:52:43 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2017-08-21 15:55:07 -0700
commitf24b150a63b208f4437efc7dc7a42954363641ca (patch)
treeda3666c259ecd59725ee0430e04c9a673cfcd50f /fs
parent125c9fb1ccb53eb2ea9380df40f3c743f3fb2fed (diff)
downloadop-kernel-dev-f24b150a63b208f4437efc7dc7a42954363641ca.zip
op-kernel-dev-f24b150a63b208f4437efc7dc7a42954363641ca.tar.gz
f2fs: remove unused function overprovision_sections
Signed-off-by: Yunlong Song <yunlong.song@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/f2fs/segment.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h
index 7f700e5..b9b4f85 100644
--- a/fs/f2fs/segment.h
+++ b/fs/f2fs/segment.h
@@ -492,11 +492,6 @@ static inline int overprovision_segments(struct f2fs_sb_info *sbi)
return SM_I(sbi)->ovp_segments;
}
-static inline int overprovision_sections(struct f2fs_sb_info *sbi)
-{
- return GET_SEC_FROM_SEG(sbi, (unsigned int)overprovision_segments(sbi));
-}
-
static inline int reserved_sections(struct f2fs_sb_info *sbi)
{
return GET_SEC_FROM_SEG(sbi, (unsigned int)reserved_segments(sbi));
OpenPOWER on IntegriCloud