aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/backref.h
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2020-03-23 16:14:08 +0800
committerDavid Sterba <dsterba@suse.com>2020-05-25 11:25:21 +0200
commitfc997ed05a9f9d2185b8804fb2d0273e6d9e921a (patch)
tree7174ad9a5e48be71be276bf646da4441015d3cb1 /fs/btrfs/backref.h
parentbtrfs: backref: rename and move handle_one_tree_block() (diff)
downloadlinux-dev-fc997ed05a9f9d2185b8804fb2d0273e6d9e921a.tar.xz
linux-dev-fc997ed05a9f9d2185b8804fb2d0273e6d9e921a.zip
btrfs: backref: rename and move finish_upper_links()
This the the 2nd major part of generic backref cache. Move it to backref.c so we can reuse it. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/backref.h')
-rw-r--r--fs/btrfs/backref.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/backref.h b/fs/btrfs/backref.h
index 5839da215ff6..80a43359d216 100644
--- a/fs/btrfs/backref.h
+++ b/fs/btrfs/backref.h
@@ -369,4 +369,7 @@ int btrfs_backref_add_tree_node(struct btrfs_backref_cache *cache,
struct btrfs_key *node_key,
struct btrfs_backref_node *cur);
+int btrfs_backref_finish_upper_links(struct btrfs_backref_cache *cache,
+ struct btrfs_backref_node *start);
+
#endif