diff options
author | 2020-01-24 09:32:57 -0500 | |
---|---|---|
committer | 2020-03-23 17:01:32 +0100 | |
commit | 141386e1a5d641d6d89a7794f806a31945ec1e9f (patch) | |
tree | b67dbf0926adfa5ab9de5817cf7f96cfc5531a7c /fs/btrfs/tree-log.c | |
parent | btrfs: push btrfs_grab_fs_root into btrfs_get_fs_root (diff) | |
download | wireguard-linux-141386e1a5d641d6d89a7794f806a31945ec1e9f.tar.xz wireguard-linux-141386e1a5d641d6d89a7794f806a31945ec1e9f.zip |
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>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions