From: "Américo Wang" <xiyou.wangcong@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: [Patch] bit-radix.c: fix declarations
Date: Mon, 19 Jan 2009 22:19:21 +0800 [thread overview]
Message-ID: <20090119141921.GA8507@hack.private> (raw)
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);
next reply other threads:[~2009-01-19 14:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-19 14:19 Américo Wang [this message]
2009-01-21 14:58 ` [Patch] bit-radix.c: fix declarations Chris Mason
2009-01-22 16:09 ` Américo Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090119141921.GA8507@hack.private \
--to=xiyou.wangcong@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.