aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorJosef Bacik2016-09-02 15:25:43 -0400
committerDavid Sterba2016-09-26 18:08:44 +0200
commit6bdf131fac2336adb1a628f992ba32384f653a55 (patch)
tree1fa2a56a821b5b40a704e535c8c37734a39354a2 /fs/btrfs/file.c
parente2c8990734874061d144184dbf0d66e2827c216f (diff)
Btrfs: don't leak reloc root nodes on error
We don't track the reloc roots in any sort of normal way, so the only way the root/commit_root nodes get free'd is if the relocation finishes successfully and the reloc root is deleted. Fix this by free'ing them in free_reloc_roots. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions