]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/f2fs/gc.c
f2fs: push some variables to debug part
[linux.git] / fs / f2fs / gc.c
index 14961593e93c84f47860e0a33df001f59a8d9508..25b083c81d5003de42c4c8fd4d0b7cd6034b5b26 100644 (file)
@@ -76,7 +76,9 @@ static int gc_thread_func(void *data)
                else
                        wait_ms = increase_sleep_time(wait_ms);
 
+#ifdef CONFIG_F2FS_STAT_FS
                sbi->bg_gc++;
+#endif
 
                /* if return value is not zero, no victim was selected */
                if (f2fs_gc(sbi))