public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch] bit-radix.c: fix declarations
@ 2009-01-19 14:19 Américo Wang
  2009-01-21 14:58 ` Chris Mason
  0 siblings, 1 reply; 3+ messages in thread
From: Américo Wang @ 2009-01-19 14:19 UTC (permalink / raw)
  To: linux-btrfs


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

Signed-off-by: WANG Cong <wangcong@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);
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-22 16:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-19 14:19 [Patch] bit-radix.c: fix declarations Américo Wang
2009-01-21 14:58 ` Chris Mason
2009-01-22 16:09   ` Américo Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox