diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-05-07 14:22:40 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-05-31 11:31:51 -0700 |
commit | 5b0e95398e2bcc18e871758221cc712be4a0a39a (patch) | |
tree | 742796c086e1192d1ec64c9c5c82b8ae59d50239 /fs/f2fs/gc.h | |
parent | 107a805de87ec071dab602071c14e67b98b0c519 (diff) |
f2fs: introduce sbi->gc_mode to determine the policy
This is to avoid sbi->gc_thread pointer access.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/gc.h')
-rw-r--r-- | fs/f2fs/gc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/f2fs/gc.h b/fs/f2fs/gc.h index b0045d4c8d1e..c8619e408009 100644 --- a/fs/f2fs/gc.h +++ b/fs/f2fs/gc.h @@ -36,8 +36,6 @@ struct f2fs_gc_kthread { unsigned int no_gc_sleep_time; /* for changing gc mode */ - unsigned int gc_idle; - unsigned int gc_urgent; unsigned int gc_wake; }; |