summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2018-01-05 20:51:11 +0100
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:22 +0100
commitc04e61b5e41b0e8ace4aa4b67685fbe68ac37a46 (patch)
tree344515034f396a7f00fb52dcf0c5ad2f51f950b0 /fs/btrfs/ctree.h
parentBtrfs: add helper for em merge logic (diff)
downloadlinux-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/ctree.h')
-rw-r--r--fs/btrfs/ctree.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 1e05fc7e0e35..1a462ab85c49 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -3143,8 +3143,6 @@ struct btrfs_delalloc_work *btrfs_alloc_delalloc_work(struct inode *inode,
int delay_iput);
void btrfs_wait_and_free_delalloc_work(struct btrfs_delalloc_work *work);
-int btrfs_add_extent_mapping(struct extent_map_tree *em_tree,
- struct extent_map **em_in, u64 start, u64 len);
struct extent_map *btrfs_get_extent_fiemap(struct btrfs_inode *inode,
struct page *page, size_t pg_offset, u64 start,
u64 len, int create);