summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/shrinker.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2020-02-27 12:30:05 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2020-03-10 17:18:33 +0100
commit7a88ddb56077d07257a5d0393a4be13e424ca755 (patch)
tree07aadedd5fcf7c7e85021148d5baaeea23225d6d /fs/f2fs/shrinker.c
parentf2fs: remove i_sem lock coverage in f2fs_setxattr() (diff)
downloadlinux-7a88ddb56077d07257a5d0393a4be13e424ca755.tar.xz
linux-7a88ddb56077d07257a5d0393a4be13e424ca755.zip
f2fs: fix inconsistent comments
Lack of maintenance on comments may mislead developers, fix them. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/shrinker.c')
-rw-r--r--fs/f2fs/shrinker.c2
1 files changed, 1 insertions, 1 deletions
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 */