diff options
author | Sage Weil <sage@inktank.com> | 2013-08-15 14:11:45 -0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-08-15 14:11:45 -0400 |
commit | ee3e542fec6e69bc9fb668698889a37d93950ddf (patch) | |
tree | e74ee766a4764769ef1d3d45d266b4dea64101d3 /fs/f2fs/debug.c | |
parent | fe2a801b50c0bb8039d627e5ae1fec249d10ff39 (diff) | |
parent | f1d6e17f540af37bb1891480143669ba7636c4cf (diff) |
Merge remote-tracking branch 'linus/master' into testing
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); |