projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
125c9fb
)
f2fs: remove unused function overprovision_sections
author
Yunlong Song
<yunlong.song@huawei.com>
Mon, 14 Aug 2017 08:52:43 +0000
(16:52 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Mon, 21 Aug 2017 22:55:07 +0000
(15:55 -0700)
Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/segment.h
b/fs/f2fs/segment.h
index 7f700e54b77d2f4be758eaee9a1dd4eef20a6106..b9b4f85ffeb6a8399e21f24b2f400e4b55ca2c2e 100644
(file)
--- 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));