fibmap.f2fs: fix the wrong stat info
authorChao Yu <chao2.yu@samsung.com>
Thu, 22 Jan 2015 03:19:05 +0000 (11:19 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 23 Jan 2015 21:15:52 +0000 (13:15 -0800)
commit5a510076b737b734bdeab95dd4b597cdb681fb29
treef06eb854e629d2bceadb0410dbb2a3fe264ebaa0
parentdc532e5316488cc41668e918c2105f6c051d0767
fibmap.f2fs: fix the wrong stat info

fibmap shows ino, size, blocks with incorrectly decimal number, fix it.

Before:
--------------------------------------------
dev       [8:16]
ino       [0x   238ea : 0]
mode      [0x    81a4 : 33188]
nlink     [0x       1 : 1]
uid       [0x       0 : 0]
gid       [0x       0 : 0]
size      [0x   79e00 : 0]
blksize   [0x    1000 : 4096]
blocks    [0x     268 : 0]
--------------------------------------------

Patched:
--------------------------------------------
dev       [8:16]
ino       [0x   238ea : 145642]
mode      [0x    81a4 : 33188]
nlink     [0x       1 : 1]
uid       [0x       0 : 0]
gid       [0x       0 : 0]
size      [0x   79e00 : 499200]
blksize   [0x    1000 : 4096]
blocks    [0x     268 : 616]
--------------------------------------------

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
tools/fibmap.c