* [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
* Re: [Patch] bit-radix.c: fix declarations
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
0 siblings, 1 reply; 3+ messages in thread
From: Chris Mason @ 2009-01-21 14:58 UTC (permalink / raw)
To: Américo Wang; +Cc: linux-btrfs
On Mon, 2009-01-19 at 22:19 +0800, Am=C3=A9rico Wang wrote:
> bit-radix.c should #include "bit-radix.h", and add a missing declarat=
ion
> for find_next_bit().
>=20
> Signed-off-by: WANG Cong <wangcong@zeuux.org>
>=20
I fixed this a little differently, the bit-radix code wasn't being used
anymore. It's gone now ;)
-chris
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Patch] bit-radix.c: fix declarations
2009-01-21 14:58 ` Chris Mason
@ 2009-01-22 16:09 ` Américo Wang
0 siblings, 0 replies; 3+ messages in thread
From: Américo Wang @ 2009-01-22 16:09 UTC (permalink / raw)
To: Chris Mason; +Cc: linux-btrfs
On Wed, Jan 21, 2009 at 09:58:22AM -0500, Chris Mason wrote:
>On Mon, 2009-01-19 at 22:19 +0800, Am=C3=A9rico Wang wrote:
>> bit-radix.c should #include "bit-radix.h", and add a missing declara=
tion
>> for find_next_bit().
>>=20
>> Signed-off-by: WANG Cong <wangcong@zeuux.org>
>>=20
>
>I fixed this a little differently, the bit-radix code wasn't being use=
d
>anymore. It's gone now ;)
>
Thanks for your explanation!
--=20
"Against stupidity, the gods themselves, contend in vain."
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.