summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/backref.h
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2020-03-03 06:22:57 +0100
committerDavid Sterba <dsterba@suse.com>2020-05-25 11:25:19 +0200
commit47254d07f37590fddc1516006e3e79453e755424 (patch)
tree234cfbdb5030c1c7cb58e7a14cd814755b317c20 /fs/btrfs/backref.h
parentbtrfs: backref: rename and move alloc_backref_node() (diff)
downloadlinux-47254d07f37590fddc1516006e3e79453e755424.tar.xz
linux-47254d07f37590fddc1516006e3e79453e755424.zip
btrfs: backref: rename and move alloc_backref_edge()
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/backref.h b/fs/btrfs/backref.h
index 94d49f2177d9..4f140a0ebe1c 100644
--- a/fs/btrfs/backref.h
+++ b/fs/btrfs/backref.h
@@ -272,5 +272,7 @@ void btrfs_backref_init_cache(struct btrfs_fs_info *fs_info,
struct btrfs_backref_cache *cache, int is_reloc);
struct btrfs_backref_node *btrfs_backref_alloc_node(
struct btrfs_backref_cache *cache, u64 bytenr, int level);
+struct btrfs_backref_edge *btrfs_backref_alloc_edge(
+ struct btrfs_backref_cache *cache);
#endif