]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: make tree search for insert more generic and use it for tree_search
authorDavid Sterba <dsterba@suse.com>
Thu, 25 Jun 2020 16:49:39 +0000 (18:49 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:35 +0000 (17:45 +0200)
commit69f25f21185c5951c9ed0f8b0ece8da95308525c
tree54f9d35ab83421a3bbb98d5a52820bf2b9fce00a
parent36c5f7d3978e89f85cfea2c6802bac0f7e1027b9
btrfs: make tree search for insert more generic and use it for tree_search

With a slight extension of tree_search_for_insert (fill the return node
and parent return parameters) we can avoid calling __etree_search from
tree_search, that could be removed eventually in followup patches.

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