btrfs: unify tree search helper returning prev and next nodes
authorDavid Sterba <dsterba@suse.com>
Thu, 25 Jun 2020 17:03:41 +0000 (19:03 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:36 +0000 (17:45 +0200)
commit9db33891c79dde09384ed56a0670a02648d8ce05
tree7e5ac20fca93f42171c4916531c908279f590d02
parentec60c76f532f94081d2605b77101246073a9ae6f
btrfs: unify tree search helper returning prev and next nodes

Simplify helper to return only next and prev pointers, we don't need all
the node/parent/prev/next pointers of __etree_search as there are now
other specialized helpers. Rename parameters so they follow the naming.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c