aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2023-04-29 16:07:15 -0400
committerDavid Sterba <[email protected]>2023-06-19 13:59:25 +0200
commit924452c80e81ba96bfc64847e983862016345381 (patch)
tree63d7a6db5b453bbe4ce6b6b7c5e6e6aa109e7c82 /scripts/generate_rust_analyzer.py
parentc8d5421563547a4b4ba6fcb9dae6b323dd02b75f (diff)
btrfs: extend btrfs_leaf_check to return btrfs_tree_block_status
Instead of blanket returning -EUCLEAN for all the failures in btrfs_check_leaf, use btrfs_tree_block_status and return the appropriate status for each failure. Rename the helper to __btrfs_check_leaf and then make a wrapper of btrfs_check_leaf that will return -EUCLEAN to non-clean error codes. This will allow us to have the __btrfs_check_leaf variant in btrfs-progs while keeping the behavior in the kernel consistent. Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions