f2fs: improve print log in f2fs_sanity_check_ckpt()
authorChao Yu <yuchao0@huawei.com>
Thu, 11 Jul 2019 01:29:15 +0000 (09:29 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 11 Jul 2019 01:44:47 +0000 (18:44 -0700)
commit2d008835ec2fcf6eef3285e41e62a5eabd1fe76b
tree0aaa6fb752125876a742feb4e75edea499ef71e0
parent56f3ce675103e3fb9e631cfb4131fc768bc23e9a
f2fs: improve print log in f2fs_sanity_check_ckpt()

As Park Ju Hyung suggested:

"I'd like to suggest to write down an actual version of f2fs-tools
here as we've seen older versions of fsck doing even more damage
and the users might not have the latest f2fs-tools installed."

This patch give a more detailed info of how we fix such corruption
to user to avoid damageable repair with low version fsck.

Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c