btrfs: unexport btrfs_prev_leaf()
authorFilipe Manana <fdmanana@suse.com>
Wed, 12 Apr 2023 10:33:10 +0000 (11:33 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:22 +0000 (13:59 +0200)
commitf469c8bd90b7d595414e4b1876983dc94d0df47e
tree97dc282f9e9aad81b316f3e1568dc7a462ab4d38
parent45a3e24f65e90a047bef86f927ebdc4c710edaa1
btrfs: unexport btrfs_prev_leaf()

btrfs_prev_leaf() is not used outside ctree.c, so there's no need to
export it at ctree.h - just make it static at ctree.c and move its
definition above btrfs_search_slot_for_read(), since that function
calls it.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c
fs/btrfs/ctree.h