summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJaegeuk Kim2017-03-07 22:54:56 +0100
committerJaegeuk Kim2017-03-22 03:34:21 +0100
commit5ce4738a0250ba9b6fbc89900ee0fc92a5eb60db (patch)
treeb47bc0f6f9fa438212749fce71e3bed822791cb1 /fs
parentf2fs: remove dead macro PGOFS_OF_NEXT_DNODE (diff)
downloadkernel-qcow2-linux-5ce4738a0250ba9b6fbc89900ee0fc92a5eb60db.tar.gz
kernel-qcow2-linux-5ce4738a0250ba9b6fbc89900ee0fc92a5eb60db.tar.xz
kernel-qcow2-linux-5ce4738a0250ba9b6fbc89900ee0fc92a5eb60db.zip
f2fs: show more precise message on orphan recovery failure
This case is not caused by fsck.f2fs. User needs to retry mount. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/f2fs/checkpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index b72a9aad296c..3c3d2d01448d 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -567,7 +567,7 @@ static int recover_orphan_inode(struct f2fs_sb_info *sbi, nid_t ino)
if (ni.blk_addr != NULL_ADDR) {
set_sbi_flag(sbi, SBI_NEED_FSCK);
f2fs_msg(sbi->sb, KERN_WARNING,
- "%s: orphan failed (ino=%x), run fsck to fix.",
+ "%s: orphan failed (ino=%x) by kernel, retry mount.",
__func__, ino);
return -EIO;
}