fsck.f2fs: add segment type in sit_dump
authorYunlei He <heyunlei@huawei.com>
Thu, 16 Jul 2015 02:10:36 +0000 (10:10 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 16 Jul 2015 20:39:55 +0000 (13:39 -0700)
commite9f8ae8b3e008f855df944dfa9afbd4fef54192a
tree3b6a9fad7608183ac1c5362f6375e1682dc0b47b
parentca1436eeef10a23586c64491d308dd8c2e22174b
fsck.f2fs: add segment type in sit_dump

Add segment type information in sit_dump:

[sit_dump:  48] SIT[0x12905] : 0x  1 : 0
[sit_dump:  48] SIT[0x12906] : 0x  1 : 5
[sit_dump:  48] SIT[0x12907] : 0x  7 : 4
[sit_dump:  48] SIT[0x12908] : 0x  1 : 3

The last column output message on behalf of segment type like
CURSEG_XXX_TYPE.

Signed-off-by: Yunlei He <heyunlei@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fsck/dump.c