]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: use btrfs_read_node_slot in do_relocation
authorJosef Bacik <josef@toxicpanda.com>
Thu, 5 Nov 2020 15:45:12 +0000 (10:45 -0500)
committerDavid Sterba <dsterba@suse.com>
Tue, 8 Dec 2020 14:54:06 +0000 (15:54 +0100)
commit2ee6ded5937070fe6e25bb9c697ca57c34d6dec8
tree7136f65787eff4da56f9dc5d58d7a9bad0c16b91
parentbca1721c1d8581fd8cecb70ba52117c5f37eaf31
btrfs: use btrfs_read_node_slot in do_relocation

We're open coding btrfs_read_node_slot in do_relocation, replace this
with the proper 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