aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-checker.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2023-04-29 16:07:13 -0400
committerDavid Sterba <dsterba@suse.com>2023-06-19 13:59:25 +0200
commita7b4e6c7aa66632d776cf2b991ff2def076e34b8 (patch)
treed95b05bde90f68e334ed3cf8fa091b05395673fc /fs/btrfs/tree-checker.c
parentbtrfs: simplify btrfs_check_leaf_* helpers into a single helper (diff)
downloadlinux-a7b4e6c7aa66632d776cf2b991ff2def076e34b8.tar.gz
linux-a7b4e6c7aa66632d776cf2b991ff2def076e34b8.zip
btrfs: add btrfs_tree_block_status definitions to tree-checker.h
We use this in btrfs-progs to determine if we can fix different types of corruptions. We don't care about this in the kernel, however it would be good to share this code between the kernel and btrfs-progs, so add the status definitions so we can start converting the tree-checker code over to using these status flags instead of blanket returning -EUCLEAN. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-checker.c')
0 files changed, 0 insertions, 0 deletions