diff options
Diffstat (limited to 'fs/f2fs/debug.c')
-rw-r--r-- | fs/f2fs/debug.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/f2fs/debug.c b/fs/f2fs/debug.c index 478e5d54154f..ad1b18a7705b 100644 --- a/fs/f2fs/debug.c +++ b/fs/f2fs/debug.c | |||
@@ -211,12 +211,10 @@ static int stat_show(struct seq_file *s, void *v) | |||
211 | 211 | ||
212 | mutex_lock(&f2fs_stat_mutex); | 212 | mutex_lock(&f2fs_stat_mutex); |
213 | list_for_each_entry(si, &f2fs_stat_list, stat_list) { | 213 | list_for_each_entry(si, &f2fs_stat_list, stat_list) { |
214 | char devname[BDEVNAME_SIZE]; | ||
215 | |||
216 | update_general_status(si->sbi); | 214 | update_general_status(si->sbi); |
217 | 215 | ||
218 | seq_printf(s, "\n=====[ partition info(%s). #%d ]=====\n", | 216 | seq_printf(s, "\n=====[ partition info(%pg). #%d ]=====\n", |
219 | bdevname(si->sbi->sb->s_bdev, devname), i++); | 217 | si->sbi->sb->s_bdev, i++); |
220 | seq_printf(s, "[SB: 1] [CP: 2] [SIT: %d] [NAT: %d] ", | 218 | seq_printf(s, "[SB: 1] [CP: 2] [SIT: %d] [NAT: %d] ", |
221 | si->sit_area_segs, si->nat_area_segs); | 219 | si->sit_area_segs, si->nat_area_segs); |
222 | seq_printf(s, "[SSA: %d] [MAIN: %d", | 220 | seq_printf(s, "[SSA: %d] [MAIN: %d", |