btrfs: use btrfs_read_node_slot in walk_down_reloc_tree
authorJosef Bacik <josef@toxicpanda.com>
Thu, 5 Nov 2020 15:45:11 +0000 (10:45 -0500)
committerDavid Sterba <dsterba@suse.com>
Tue, 8 Dec 2020 14:54:06 +0000 (15:54 +0100)
commit8ef385bbf0994ecf658e050ccb58d7fc18920935
tree2b7c8b97baf6e8391e4e822bbf5738dd34c2cffd
parent206983b72a369c8fdc4fd55b3f46ec16f3c024ea
btrfs: use btrfs_read_node_slot in walk_down_reloc_tree

We do not need to call read_tree_block() here, simply use the
btrfs_read_node_slot helper.

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>
fs/btrfs/relocation.c