Skip to content

Commit

Permalink
f2fs: update f2fs partition info about SIT/NAT layout
Browse files Browse the repository at this point in the history
Update partition info output under debug FS to reflect segment layout correctly.

Signed-off-by: Huajun Li <huajun.li.lee@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
  • Loading branch information
Huajun Li authored and Jaegeuk Kim committed Jan 4, 2013
1 parent 9268cc3 commit 7880cee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/f2fs/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ static int stat_show(struct seq_file *s, void *v)
update_general_status(si->sbi);

seq_printf(s, "\n=====[ partition info. #%d ]=====\n", i++);
seq_printf(s, "[SB: 1] [CP: 2] [NAT: %d] [SIT: %d] ",
si->nat_area_segs, si->sit_area_segs);
seq_printf(s, "[SB: 1] [CP: 2] [SIT: %d] [NAT: %d] ",
si->sit_area_segs, si->nat_area_segs);
seq_printf(s, "[SSA: %d] [MAIN: %d",
si->ssa_area_segs, si->main_area_segs);
seq_printf(s, "(OverProv:%d Resv:%d)]\n\n",
Expand Down

0 comments on commit 7880cee

Please sign in to comment.