projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd953ed
)
bcache: Use WARN_ONCE() instead of __WARN()
author
Kent Overstreet
<koverstreet@google.com>
Wed, 27 Mar 2013 19:47:45 +0000
(12:47 -0700)
committer
Kent Overstreet
<koverstreet@google.com>
Mon, 8 Apr 2013 20:33:48 +0000
(13:33 -0700)
Signed-off-by: Kent Overstreet <koverstreet@google.com>
drivers/md/bcache/bset.c
patch
|
blob
|
history
diff --git
a/drivers/md/bcache/bset.c
b/drivers/md/bcache/bset.c
index d4f2164ca5515a909283408ea9b3b822a7de5ec5..cb4578a327b9d2841d43b58afd9be238d5d38a6c 100644
(file)
--- a/
drivers/md/bcache/bset.c
+++ b/
drivers/md/bcache/bset.c
@@
-883,7
+883,7
@@
struct bkey *bch_btree_iter_next(struct btree_iter *iter)
iter->data->k = bkey_next(iter->data->k);
if (iter->data->k > iter->data->end) {
-
__WARN(
);
+
WARN_ONCE(1, "bset was corrupt!\n"
);
iter->data->k = iter->data->end;
}