mirror of
https://github.com/torvalds/linux.git
synced 2024-11-02 02:01:29 +00:00
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>
This commit is contained in:
parent
125c9fb1cc
commit
f24b150a63
@ -492,11 +492,6 @@ static inline int overprovision_segments(struct f2fs_sb_info *sbi)
|
|||||||
return SM_I(sbi)->ovp_segments;
|
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)
|
static inline int reserved_sections(struct f2fs_sb_info *sbi)
|
||||||
{
|
{
|
||||||
return GET_SEC_FROM_SEG(sbi, (unsigned int)reserved_segments(sbi));
|
return GET_SEC_FROM_SEG(sbi, (unsigned int)reserved_segments(sbi));
|
||||||
|
Loading…
Reference in New Issue
Block a user