Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1710732 > unrolled thread

[PATCH] f2fs: remove unused function overprovision_sections

Started byYunlong Song <yunlong.song@huawei.com>
First post2017-08-14 11:00 +0200
Last post2017-08-15 14:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] f2fs: remove unused function overprovision_sections Yunlong Song <yunlong.song@huawei.com> - 2017-08-14 11:00 +0200
    Re: [PATCH] f2fs: remove unused function overprovision_sections Chao Yu <yuchao0@huawei.com> - 2017-08-15 14:40 +0200

#1710732 — [PATCH] f2fs: remove unused function overprovision_sections

FromYunlong Song <yunlong.song@huawei.com>
Date2017-08-14 11:00 +0200
Subject[PATCH] f2fs: remove unused function overprovision_sections
Message-ID<uejo5-1Xt-7@gated-at.bofh.it>
Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
---
 fs/f2fs/segment.h | 5 -----
 1 file changed, 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));
-- 
1.8.5.2

[toc] | [next] | [standalone]


#1712145

FromChao Yu <yuchao0@huawei.com>
Date2017-08-15 14:40 +0200
Message-ID<ueJiy-1jm-11@gated-at.bofh.it>
In reply to#1710732
On 2017/8/14 16:52, Yunlong Song wrote:
> Signed-off-by: Yunlong Song <yunlong.song@huawei.com>

Reviewed-by: Chao Yu <yuchao0@huawei.com>

> ---
>  fs/f2fs/segment.h | 5 -----
>  1 file changed, 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));
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web