diff options
author | Josef Bacik <josef@toxicpanda.com> | 2020-03-04 19:18:26 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-03-23 19:01:57 +0300 |
commit | 1a0afa0ecfc4dbc8d7583d03cafd3f68f781df0c (patch) | |
tree | 6a88a2066d1c7b978200019ea52d83c276166047 /scripts/generate_rust_analyzer.py | |
parent | 2abc726ab4b83db774e315c660ab8da21477092f (diff) | |
download | linux-1a0afa0ecfc4dbc8d7583d03cafd3f68f781df0c.tar.xz |
btrfs: free the reloc_control in a consistent way
If we have an error while processing the reloc roots we could leak roots
that were added to rc->reloc_roots before we hit the error. We could
have also not removed the reloc tree mapping from our rb_tree, so clean
up any remaining nodes in the reloc root rb_tree.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ use rbtree_postorder_for_each_entry_safe ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions