commit | 89d7da9bc592aa6a341d00f2d949615a89bb1eb7 | [log] [tgz] |
---|---|---|
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | Tue Jun 02 19:05:56 2020 +0900 |
committer | David Sterba <dsterba@suse.com> | Mon Jul 27 12:55:20 2020 +0200 |
tree | 962caa14d81c070785a041bfb8eeb48786ad0fe1 | |
parent | 96f9b0f2fa01c96e90abd4e981208a341a5da66e [diff] |
btrfs: get mapping tree directly from fsinfo in find_first_block_group We already have an fs_info in our function parameters, there's no need to do the maths again and get fs_info from the extent_root just to get the mapping_tree. Instead directly grab the mapping_tree from fs_info. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>