diff options
author | David Sterba <dsterba@suse.com> | 2016-11-08 23:21:05 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-11-30 13:45:16 +0100 |
commit | 62d1f9fe97dd25ca5e850bd7e140d4c9d4b9c7c7 (patch) | |
tree | 1ffd962f3ecf32d2c45329074cb2bfc8cf7efdd1 /fs/btrfs/extent-tree.c | |
parent | btrfs: reada, remove pointless BUG_ON check for fs_info (diff) | |
download | linux-62d1f9fe97dd25ca5e850bd7e140d4c9d4b9c7c7.tar.xz linux-62d1f9fe97dd25ca5e850bd7e140d4c9d4b9c7c7.zip |
btrfs: remove trivial helper btrfs_find_tree_block
During the time, the function has been shrunk to the point that it just
calls find_extent_buffer, just passing the parameters.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to '')
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index add799b90ce5..39a834d21749 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -8866,7 +8866,7 @@ static noinline int do_walk_down(struct btrfs_trans_handle *trans, bytenr = btrfs_node_blockptr(path->nodes[level], path->slots[level]); blocksize = root->nodesize; - next = btrfs_find_tree_block(root->fs_info, bytenr); + next = find_extent_buffer(root->fs_info, bytenr); if (!next) { next = btrfs_find_create_tree_block(root, bytenr); if (IS_ERR(next)) |