aboutsummaryrefslogtreecommitdiff
path: root/fs/f2fs/gc.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2013-10-22 20:56:10 +0900
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-10-25 16:54:08 +0900
commitdcdfff65276fdc6dfe5eb1d0aff802dfa7a95e15 (patch)
treeb5461b18a242ea5fd04eb4c69e5cb966708c9e19 /fs/f2fs/gc.c
parent7bd59381c82defe19875284c48b1ac9dacd16e8f (diff)
f2fs: clean up several status-related operations
This patch cleans up improper definitions that update some status information. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/gc.c')
-rw-r--r--fs/f2fs/gc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c
index 7914b92a696..cb286d7b02b 100644
--- a/fs/f2fs/gc.c
+++ b/fs/f2fs/gc.c
@@ -77,9 +77,7 @@ static int gc_thread_func(void *data)
else
wait_ms = increase_sleep_time(gc_th, wait_ms);
-#ifdef CONFIG_F2FS_STAT_FS
- sbi->bg_gc++;
-#endif
+ stat_inc_bggc_count(sbi);
/* if return value is not zero, no victim was selected */
if (f2fs_gc(sbi))