OSDN Git Service

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>
Sat, 13 Jul 2019 01:35:35 +0000 (18:35 -0700)
commita35f5a0be11e3976abc419d9e162261d579158a3
tree1241b1dfeb335fa771d1f1622c661e198a58cf2d
parentdd3a9b324a4dd107ec3e8e1811095182f7efb802
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