summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-10-04 05:15:19 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2018-10-16 18:36:59 +0200
commit850971b23f0cabb5103a2de9f4b9fe7177c96a9d (patch)
tree73b2235fbc44e312d2a39d2e985c30791c752425 /fs
parentf2fs: shrink sbi->sb_lock coverage in set_file_temperature() (diff)
downloadlinux-850971b23f0cabb5103a2de9f4b9fe7177c96a9d.tar.xz
linux-850971b23f0cabb5103a2de9f4b9fe7177c96a9d.zip
f2fs: remove unused sbi->trigger_ssr_threshold
Commit a2a12b679f36 ("f2fs: export SSR allocation threshold") introduced two threshold .min_ssr_sections and .trigger_ssr_threshold, but only .min_ssr_sections is used, so just remove redundant one for cleanup. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/f2fs/f2fs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 829355dc469b..cfc7e1b6c850 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -1220,7 +1220,6 @@ struct f2fs_sb_info {
unsigned int total_valid_node_count; /* valid node block count */
loff_t max_file_blocks; /* max block index of file */
int dir_level; /* directory level */
- unsigned int trigger_ssr_threshold; /* threshold to trigger ssr */
int readdir_ra; /* readahead inode in readdir */
block_t user_block_count; /* # of user blocks */