bit-radix.c should #include "bit-radix.h", and add a missing declaration
for find_next_bit().

Signed-off-by: WANG Cong <wangc...@zeuux.org>

---
diff --git a/bit-radix.c b/bit-radix.c
index 57f6f3c..01bf4af 100644
--- a/bit-radix.c
+++ b/bit-radix.c
@@ -17,7 +17,7 @@
  */
 
 #include "kerncompat.h"
-#include "radix-tree.h"
+#include "bit-radix.h"
 
 #define BIT_ARRAY_BYTES 256
 #define BIT_RADIX_BITS_PER_ARRAY ((BIT_ARRAY_BYTES - sizeof(unsigned long)) * 
8)
diff --git a/bit-radix.h b/bit-radix.h
index af14e80..ff82c9c 100644
--- a/bit-radix.h
+++ b/bit-radix.h
@@ -23,6 +23,8 @@
 int set_radix_bit(struct radix_tree_root *radix, unsigned long bit);
 int test_radix_bit(struct radix_tree_root *radix, unsigned long bit);
 int clear_radix_bit(struct radix_tree_root *radix, unsigned long bit);
+unsigned long find_next_bit(const unsigned long *addr, unsigned long size,
+                unsigned long offset);
 int find_first_radix_bit(struct radix_tree_root *radix, unsigned long *retbits,
                         unsigned long start, int nr);
 

--
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

Reply via email to