mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
btrfs: remove mapping tree structures indirection
fs_info::mapping_tree is the physical<->logical mapping tree and uses the same underlying structure as extents, but is embedded to another structure. There are no other members and this indirection is useless. No functional change. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
49cc180ca9
commit
c8bf1b6703
8 changed files with 40 additions and 50 deletions
|
@ -723,7 +723,7 @@ static void btrfs_dev_replace_update_device_in_mapping_tree(
|
|||
struct btrfs_device *srcdev,
|
||||
struct btrfs_device *tgtdev)
|
||||
{
|
||||
struct extent_map_tree *em_tree = &fs_info->mapping_tree.map_tree;
|
||||
struct extent_map_tree *em_tree = &fs_info->mapping_tree;
|
||||
struct extent_map *em;
|
||||
struct map_lookup *map;
|
||||
u64 start = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue