mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-18 02:36:56 +00:00
btrfs-progs: check: lowmem: Fix silent error if first inode item missing
If first inode item is missing, lowmem check will detect it but does not output any error message. Add error message for it. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
7fe1e45258
commit
3aed1a1ced
@ -4997,6 +4997,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);
|
||||
|
Loading…
Reference in New Issue
Block a user