Message ID | 20170206054735.5227-7-quwenruo@cn.fujitsu.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/cmds-check.c b/cmds-check.c index cf5a08ce..7d273623 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -5001,6 +5001,8 @@ static int check_fs_first_inode(struct btrfs_root *root, unsigned int ext_ref) if (ret > 0) { ret = 0; err |= INODE_ITEM_MISSING; + error("first inode item of root %llu is missing", + root->objectid); } err |= check_inode_item(root, &path, ext_ref);
If first inode item is missing, lowmem check will detect it but not output any error message. Add error message for it. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> --- cmds-check.c | 2 ++ 1 file changed, 2 insertions(+)