dump.f2fs: fix incorrect endian conversion
authorChao Yu <yuchao0@huawei.com>
Mon, 10 Dec 2018 03:19:01 +0000 (11:19 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 8 Jan 2019 23:44:08 +0000 (15:44 -0800)
commit1a5588cdfba4a86004c581a439a86f84f1a0f44b
tree95505dbd119a9c6ffddae4ed1af7c8d7f2e7b482
parentcec37b066b3274c85035d6d4214d862834ed8020
dump.f2fs: fix incorrect endian conversion

f2fs_inode.i_mode is variable of __le16 type, during endian converison,
it should to use le16_to_cpu instead of le32_to_cpu, fix it.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fsck/dump.c