From: Martin Wilck <mwi...@arcor.de> I need it in btrfs-search-metadata
Signed-off-by: Martin Wilck <mwi...@arcor.de> --- ctree.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ctree.c b/ctree.c index 23399e2..1137312 100644 --- a/ctree.c +++ b/ctree.c @@ -602,8 +602,8 @@ static int generic_bin_search(struct extent_buffer *eb, unsigned long p, * simple bin_search frontend that does the right thing for * leaves vs nodes */ -static int bin_search(struct extent_buffer *eb, struct btrfs_key *key, - int level, int *slot) +int bin_search(struct extent_buffer *eb, struct btrfs_key *key, + int level, int *slot) { if (level == 0) return generic_bin_search(eb, -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html