summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuajun Li <huajun.li.lee@gmail.com>2012-12-31 09:59:09 +0400
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-01-04 04:42:59 +0400
commit7880ceedec55fbc3997d80e68670d03395225367 (patch)
tree6b766645fee8e0e91e91bbf1d3b7f111cdd5c92c
parent9268cc3523c120eed04a6ad980753d6e7b82d071 (diff)
downloadlinux-7880ceedec55fbc3997d80e68670d03395225367.tar.xz
f2fs: update f2fs partition info about SIT/NAT layout
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>
-rw-r--r--fs/f2fs/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/debug.c b/fs/f2fs/debug.c
index 0e0380a588ad..b8ed7a72c6e9 100644
--- a/fs/f2fs/debug.c
+++ b/fs/f2fs/debug.c
@@ -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",