commit | 1e2d2400f3b5322e23ef819913ba79fef9dde7da | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Fri Feb 28 14:59:22 2020 -0500 |
committer | Josef Bacik <josef@toxicpanda.com> | Fri Feb 28 14:59:22 2020 -0500 |
tree | 6d32e4e0d20a50f1c7ae51bd381e8632061814b7 | |
parent | bfacd1b8bf312264bd511d58f7dd980734bcf9b0 [diff] |
btrfs: splice rc->reloc_roots onto reloc roots in recover 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. Handle this by splicing rc->reloc_roots onto our local reloc_roots list so they are properly cleaned up. Signed-off-by: Josef Bacik <josef@toxicpanda.com>