[17/18] btrfs-progs: ctree.c: make bin_search non-static
diff mbox

Message ID 1418244708-7087-18-git-send-email-mwilck@arcor.de
State Not Applicable
Headers show

Commit Message

mwilck@arcor.de Dec. 10, 2014, 8:51 p.m. UTC
From: Martin Wilck <mwilck@arcor.de>

I need it in btrfs-search-metadata

Signed-off-by: Martin Wilck <mwilck@arcor.de>
---
 ctree.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch
diff mbox

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,