diff options
author | 2021-05-21 16:44:07 -0400 | |
---|---|---|
committer | 2021-06-21 15:19:05 +0200 | |
commit | a4cb90dc015cf18aa31bf7b8c38bf6426d9aed6a (patch) | |
tree | f206343b37a0c6c2ef5c3ef5e44bf819161bcd9a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: scrub: per-device bandwidth control (diff) | |
download | linux-dev-a4cb90dc015cf18aa31bf7b8c38bf6426d9aed6a.tar.xz linux-dev-a4cb90dc015cf18aa31bf7b8c38bf6426d9aed6a.zip |
btrfs: make btrfs_release_delayed_iref handle the !iref case
Right now we only cleanup the delayed iref if we have
BTRFS_DELAYED_NODE_DEL_IREF set on the node. However we have some error
conditions that need to cleanup the iref if it still exists, so to make
this code cleaner move the test_bit into btrfs_release_delayed_iref
itself and unconditionally call it in each of the cases instead.
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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions