diff options
author | Josef Bacik <josef@toxicpanda.com> | 2020-11-05 10:45:20 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-12-08 15:54:07 +0100 |
commit | 3fbaf25817f7013fad3ccf76279f0bd5719a5205 (patch) | |
tree | f781b57b4ccf79b2f863dd6ca715bc8602f3a33b /fs/btrfs/disk-io.h | |
parent | 5d81230baa9096bd5a7ad40822505b89ca7f9dfe (diff) | |
download | linux-3fbaf25817f7013fad3ccf76279f0bd5719a5205.tar.bz2 |
btrfs: pass the owner_root and level to alloc_extent_buffer
Now that we've plumbed all of the callers to have the owner root and the
level, plumb it down into alloc_extent_buffer().
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.h')
-rw-r--r-- | fs/btrfs/disk-io.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h index 41588babf2ed..e75ea6092942 100644 --- a/fs/btrfs/disk-io.h +++ b/fs/btrfs/disk-io.h @@ -47,7 +47,8 @@ struct extent_buffer *read_tree_block(struct btrfs_fs_info *fs_info, u64 bytenr, int level, struct btrfs_key *first_key); struct extent_buffer *btrfs_find_create_tree_block( struct btrfs_fs_info *fs_info, - u64 bytenr); + u64 bytenr, u64 owner_root, + int level); void btrfs_clean_tree_block(struct extent_buffer *buf); int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_devices, |