diff options
Diffstat (limited to 'fs/f2fs/debug.c')
-rw-r--r-- | fs/f2fs/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/debug.c b/fs/f2fs/debug.c index 8d9943786c31..0d6c6aafb235 100644 --- a/fs/f2fs/debug.c +++ b/fs/f2fs/debug.c | |||
@@ -175,12 +175,12 @@ get_cache: | |||
175 | 175 | ||
176 | static int stat_show(struct seq_file *s, void *v) | 176 | static int stat_show(struct seq_file *s, void *v) |
177 | { | 177 | { |
178 | struct f2fs_stat_info *si, *next; | 178 | struct f2fs_stat_info *si; |
179 | int i = 0; | 179 | int i = 0; |
180 | int j; | 180 | int j; |
181 | 181 | ||
182 | mutex_lock(&f2fs_stat_mutex); | 182 | mutex_lock(&f2fs_stat_mutex); |
183 | list_for_each_entry_safe(si, next, &f2fs_stat_list, stat_list) { | 183 | list_for_each_entry(si, &f2fs_stat_list, stat_list) { |
184 | char devname[BDEVNAME_SIZE]; | 184 | char devname[BDEVNAME_SIZE]; |
185 | 185 | ||
186 | update_general_status(si->sbi); | 186 | update_general_status(si->sbi); |