commit | 81f096edf0472864879e1e5a7f0fdf87ea90fe75 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Fri Jan 24 09:32:55 2020 -0500 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 23 17:01:32 2020 +0100 |
tree | ab31121667e046139480130429cee05d017e5e86 | |
parent | 4c78e9f59632b5e635e51db9b68111288b38ff22 [diff] |
btrfs: use btrfs_put_fs_root to free roots always If we are going to track leaked roots we need to free them all the same way, so don't kfree() roots directly, use btrfs_put_fs_root. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>