summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2024-05-07 14:12:08 -0400
committerDavid Sterba <dsterba@suse.com>2024-07-11 15:33:24 +0200
commit2b73c7e761c4912209bbd2baf6cf774a9cab8123 (patch)
tree824bfb50e313d2d0f4b55c7c207db0d412af22cc /tools/lib/python
parent4c4686d19dbaaaf46c5ac295e6e27580d514c4f5 (diff)
btrfs: unify logic to decide if we need to walk down into a node during snapshot delete
We currently duplicate the logic for walking into a node during snapshot delete. In one case it is during the actual delete, and in the other we use it for deciding if we should reada the block or not. Factor this code into it's own helper and comment fully what we're doing, and then update the two users to use the new helper. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions