f2fs: update f2fs partition info about SIT/NAT layout
authorHuajun Li <huajun.li.lee@gmail.com>
Mon, 31 Dec 2012 05:59:09 +0000 (13:59 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 4 Jan 2013 00:42:59 +0000 (09:42 +0900)
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>
fs/f2fs/debug.c

index 0e0380a..b8ed7a7 100644 (file)
@@ -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",