linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [f2fs-dev] [PATCH] f2fs: fix a comment in f2fs_shrink_count()
@ 2019-09-28  1:40 Chengguang Xu via Linux-f2fs-devel
  2019-09-29  0:56 ` Chao Yu
  0 siblings, 1 reply; 3+ messages in thread
From: Chengguang Xu via Linux-f2fs-devel @ 2019-09-28  1:40 UTC (permalink / raw)
  To: jaegeuk, chao; +Cc: Chengguang Xu, linux-f2fs-devel

Fix a mismatched comment in f2fs_shrink_count().

Signed-off-by: Chengguang Xu <cgxu519@zoho.com.cn>
---
 fs/f2fs/shrinker.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/shrinker.c b/fs/f2fs/shrinker.c
index a467aca29cfe..d66de5999a26 100644
--- a/fs/f2fs/shrinker.c
+++ b/fs/f2fs/shrinker.c
@@ -58,7 +58,7 @@ unsigned long f2fs_shrink_count(struct shrinker *shrink,
 		/* count extent cache entries */
 		count += __count_extent_cache(sbi);
 
-		/* shrink clean nat cache entries */
+		/* count clean nat cache entries */
 		count += __count_nat_entries(sbi);
 
 		/* count free nids cache entries */
-- 
2.21.0





_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [f2fs-dev] [PATCH] f2fs: fix a comment in f2fs_shrink_count()
  2019-09-28  1:40 [f2fs-dev] [PATCH] f2fs: fix a comment in f2fs_shrink_count() Chengguang Xu via Linux-f2fs-devel
@ 2019-09-29  0:56 ` Chao Yu
  2019-09-29  2:12   ` admin via Linux-f2fs-devel
  0 siblings, 1 reply; 3+ messages in thread
From: Chao Yu @ 2019-09-29  0:56 UTC (permalink / raw)
  To: Chengguang Xu, jaegeuk, chao; +Cc: linux-f2fs-devel

Hi Chengguang,

Thanks a lot for the patch, previously I've sent a patch to fix most
inconsistent comments including below one, could you check that?

https://lore.kernel.org/linux-f2fs-devel/20190927102305.11587-1-yuchao0@huawei.com/T/#u

Thanks,

On 2019/9/28 9:40, Chengguang Xu via Linux-f2fs-devel wrote:
> Fix a mismatched comment in f2fs_shrink_count().
> 
> Signed-off-by: Chengguang Xu <cgxu519@zoho.com.cn>
> ---
>  fs/f2fs/shrinker.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/f2fs/shrinker.c b/fs/f2fs/shrinker.c
> index a467aca29cfe..d66de5999a26 100644
> --- a/fs/f2fs/shrinker.c
> +++ b/fs/f2fs/shrinker.c
> @@ -58,7 +58,7 @@ unsigned long f2fs_shrink_count(struct shrinker *shrink,
>  		/* count extent cache entries */
>  		count += __count_extent_cache(sbi);
>  
> -		/* shrink clean nat cache entries */
> +		/* count clean nat cache entries */
>  		count += __count_nat_entries(sbi);
>  
>  		/* count free nids cache entries */
> 


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [f2fs-dev] [PATCH] f2fs: fix a comment in f2fs_shrink_count()
  2019-09-29  0:56 ` Chao Yu
@ 2019-09-29  2:12   ` admin via Linux-f2fs-devel
  0 siblings, 0 replies; 3+ messages in thread
From: admin via Linux-f2fs-devel @ 2019-09-29  2:12 UTC (permalink / raw)
  To: Chao Yu; +Cc: jaegeuk, linux-f2fs-devel

 ---- 在 星期日, 2019-09-29 08:56:25 Chao Yu <yuchao0@huawei.com> 撰写 ----
 > Hi Chengguang,
 > 
 > Thanks a lot for the patch, previously I've sent a patch to fix most
 > inconsistent comments including below one, could you check that?
 > 
 > https://lore.kernel.org/linux-f2fs-devel/20190927102305.11587-1-yuchao0@huawei.com/T/#u
 > 

Hi Chao,

Sorry, I didn't notice that before,  please just drop my patch.


Thanks, 
Chengguang



_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-29  2:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-28  1:40 [f2fs-dev] [PATCH] f2fs: fix a comment in f2fs_shrink_count() Chengguang Xu via Linux-f2fs-devel
2019-09-29  0:56 ` Chao Yu
2019-09-29  2:12   ` admin via Linux-f2fs-devel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).