commit | 6217b0fadd4473a16fabc6aecd7527a9f71af534 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Wed Mar 04 11:18:27 2020 -0500 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 23 17:01:57 2020 +0100 |
tree | 75d291f37bf2628748596245c533d08ab206daba | |
parent | fb2d83eefef4e1c717205bac71cb1941edf8ae11 [diff] |
btrfs: reloc: clean dirty subvols if we fail to start a transaction If we do merge_reloc_roots() we could insert a few roots onto the dirty subvol roots list, where we hold a ref on them. If we fail to start the transaction we need to run clean_dirty_subvols() in order to cleanup the refs. CC: stable@vger.kernel.org # 5.4+ Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>