commit | 141386e1a5d641d6d89a7794f806a31945ec1e9f | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Fri Jan 24 09:32:57 2020 -0500 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 23 17:01:32 2020 +0100 |
tree | b67dbf0926adfa5ab9de5817cf7f96cfc5531a7c | |
parent | bc44d7c4b2b179c4b74fba208b9908e2ecbc1b4d [diff] |
btrfs: free more things in btrfs_free_fs_info Things like the percpu_counters, the mapping_tree, and the csum hash can all be freed at btrfs_free_fs_info time, since the helpers all check if the structure has been initialized already. This significantly cleans up the error cases in open_ctree. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>