diff options
author | David Sterba <dsterba@suse.com> | 2019-05-17 11:43:17 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-07-01 13:34:56 +0200 |
commit | c8bf1b67039556884d0532f7b06acd524c90ed87 (patch) | |
tree | 768493988c0006a7853443fabef414b5745cd417 /fs/btrfs/dev-replace.c | |
parent | btrfs: raid56: allow the exact minimum number of devices for balance convert (diff) | |
download | linux-c8bf1b67039556884d0532f7b06acd524c90ed87.tar.xz linux-c8bf1b67039556884d0532f7b06acd524c90ed87.zip |
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>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
-rw-r--r-- | fs/btrfs/dev-replace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/dev-replace.c b/fs/btrfs/dev-replace.c index b0ba5839ec08..6b2e9aa83ffa 100644 --- a/fs/btrfs/dev-replace.c +++ b/fs/btrfs/dev-replace.c @@ -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; |