diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2018-01-05 20:51:11 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-01-22 16:08:22 +0100 |
commit | c04e61b5e41b0e8ace4aa4b67685fbe68ac37a46 (patch) | |
tree | 344515034f396a7f00fb52dcf0c5ad2f51f950b0 /fs/btrfs/extent_map.h | |
parent | Btrfs: add helper for em merge logic (diff) | |
download | linux-c04e61b5e41b0e8ace4aa4b67685fbe68ac37a46.tar.xz linux-c04e61b5e41b0e8ace4aa4b67685fbe68ac37a46.zip |
Btrfs: move extent map specific code to extent_map.c
These helpers are extent map specific, move them to extent_map.c.
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_map.h')
-rw-r--r-- | fs/btrfs/extent_map.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/extent_map.h b/fs/btrfs/extent_map.h index e9e285d45c7e..b29f77bc0732 100644 --- a/fs/btrfs/extent_map.h +++ b/fs/btrfs/extent_map.h @@ -91,4 +91,6 @@ int unpin_extent_cache(struct extent_map_tree *tree, u64 start, u64 len, u64 gen void clear_em_logging(struct extent_map_tree *tree, struct extent_map *em); struct extent_map *search_extent_mapping(struct extent_map_tree *tree, u64 start, u64 len); +int btrfs_add_extent_mapping(struct extent_map_tree *em_tree, + struct extent_map **em_in, u64 start, u64 len); #endif |