btrfs-progs: tree-checker: handle owner ref items
Add the new OWNER_REF inline items to the tree-checker extent item checking code. We could somehow validate the root id for being a valid fstree id, but just skipping it seems fine as well. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Boris Burkov <boris@bur.io> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
b3104bfeda
commit
fe7bcc5d7b
|
@ -1477,6 +1477,9 @@ static int check_extent_item(struct extent_buffer *leaf,
|
|||
}
|
||||
inline_refs += btrfs_shared_data_ref_count(leaf, sref);
|
||||
break;
|
||||
case BTRFS_EXTENT_OWNER_REF_KEY:
|
||||
/* Root id could be verified as well. */
|
||||
break;
|
||||
default:
|
||||
extent_err(leaf, slot, "unknown inline ref type: %u",
|
||||
inline_type);
|
||||
|
|
Loading…
Reference in New Issue