]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: use btrfs_tree_block_status for leaf item errors
authorJosef Bacik <josef@toxicpanda.com>
Sat, 29 Apr 2023 20:07:14 +0000 (16:07 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:25 +0000 (13:59 +0200)
commitc8d5421563547a4b4ba6fcb9dae6b323dd02b75f
tree0377da24297259804b860794c3633c0c0d48a591
parenta7b4e6c7aa66632d776cf2b991ff2def076e34b8
btrfs: use btrfs_tree_block_status for leaf item errors

We have a variety of item specific errors that can occur.  For now
simply put these under the umbrella of BTRFS_TREE_BLOCK_INVALID_ITEM,
this can be fleshed out as we need in the future.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tree-checker.c