btrfs: use btrfs_read_node_slot in btrfs_qgroup_trace_subtree
authorJosef Bacik <josef@toxicpanda.com>
Thu, 5 Nov 2020 15:45:17 +0000 (10:45 -0500)
committerDavid Sterba <dsterba@suse.com>
Tue, 8 Dec 2020 14:54:07 +0000 (15:54 +0100)
commit182c79fcb8576548515250b99defce7505c71a49
treeec699c81e73887c6caf9a8a771bc8f44aa587445
parent3acfbd6a990c6c78e333dd3b37bbe20da289a382
btrfs: use btrfs_read_node_slot in btrfs_qgroup_trace_subtree

We're open-coding btrfs_read_node_slot() here, replace with the 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/qgroup.c