summaryrefslogtreecommitdiff
path: root/fs/btrfs/backref.h
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2020-03-03 13:21:30 +0800
committerDavid Sterba <dsterba@suse.com>2020-05-25 11:25:19 +0200
commitb1818dab9bda1da8f3ea5a13230b5d91ae964f00 (patch)
tree4a314d9f7d44d391688e8463156f9b580c5caf4f /fs/btrfs/backref.h
parent584fb12187f087f4909f74fa91dbb61856107684 (diff)
downloadlwn-b1818dab9bda1da8f3ea5a13230b5d91ae964f00.tar.gz
lwn-b1818dab9bda1da8f3ea5a13230b5d91ae964f00.zip
btrfs: backref: rename and move alloc_backref_node()
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 70d5a1fdc30e..94d49f2177d9 100644
--- a/fs/btrfs/backref.h
+++ b/fs/btrfs/backref.h
@@ -270,5 +270,7 @@ struct btrfs_backref_cache {
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);
#endif