diff options
author | David Sterba <dsterba@suse.cz> | 2014-06-15 01:07:32 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-10-02 17:14:50 +0200 |
commit | ce86cd59179279a6fe673d2a105d24fb7e70aef3 (patch) | |
tree | d5a57e9f23ef1041497d9ad7bd7e5c6aeb23fdcd /fs/btrfs/print-tree.c | |
parent | btrfs: inline code of reada_tree_block and remove it (diff) | |
download | linux-ce86cd59179279a6fe673d2a105d24fb7e70aef3.tar.xz linux-ce86cd59179279a6fe673d2a105d24fb7e70aef3.zip |
btrfs: remove parameter blocksize from read_tree_block
We know the tree block size, no need to pass it around.
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/print-tree.c')
-rw-r--r-- | fs/btrfs/print-tree.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/print-tree.c b/fs/btrfs/print-tree.c index eb309855d5c8..647ab12fdf5d 100644 --- a/fs/btrfs/print-tree.c +++ b/fs/btrfs/print-tree.c @@ -336,7 +336,6 @@ void btrfs_print_tree(struct btrfs_root *root, struct extent_buffer *c) for (i = 0; i < nr; i++) { struct extent_buffer *next = read_tree_block(root, btrfs_node_blockptr(c, i), - root->nodesize, btrfs_node_ptr_generation(c, i)); if (btrfs_is_leaf(next) && level != 1) |