diff options
author | Qu Wenruo <wqu@suse.com> | 2020-03-23 11:14:08 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-05-25 12:25:21 +0300 |
commit | fc997ed05a9f9d2185b8804fb2d0273e6d9e921a (patch) | |
tree | 7174ad9a5e48be71be276bf646da4441015d3cb1 /fs/btrfs/backref.h | |
parent | 1b60d2ec982a35c2953d81d035e1d7fc7c89f42a (diff) | |
download | linux-fc997ed05a9f9d2185b8804fb2d0273e6d9e921a.tar.xz |
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.h | 3 |
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 |