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/disk-io.h | |
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 'fs/btrfs/disk-io.h')
-rw-r--r-- | fs/btrfs/disk-io.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h index 1a3237e5700f..124e30c76626 100644 --- a/fs/btrfs/disk-io.h +++ b/fs/btrfs/disk-io.h @@ -63,8 +63,6 @@ struct buffer_head *btrfs_read_dev_super(struct block_device *bdev); int btrfs_read_dev_one_super(struct block_device *bdev, int copy_num, struct buffer_head **bh_ret); int btrfs_commit_super(struct btrfs_root *root); -struct extent_buffer *btrfs_find_tree_block(struct btrfs_fs_info *fs_info, - u64 bytenr); struct btrfs_root *btrfs_read_fs_root(struct btrfs_root *tree_root, struct btrfs_key *location); int btrfs_init_fs_root(struct btrfs_root *root); |