commit | cc0f4eaa61817aaea6e61a820f3f1c500a5542b1 | [log] [tgz] |
---|---|---|
author | Kent Overstreet <koverstreet@google.com> | Wed Mar 27 12:47:45 2013 -0700 |
committer | Kent Overstreet <koverstreet@google.com> | Mon Apr 08 13:33:48 2013 -0700 |
tree | 9a4df16f3accd92221ca3ac2e75c86bb5a7b9118 | |
parent | cd953ed0363b28e3dc503b735cc4079e9f5edba7 [diff] [blame] |
bcache: Use WARN_ONCE() instead of __WARN() Signed-off-by: Kent Overstreet <koverstreet@google.com>
diff --git a/drivers/md/bcache/bset.c b/drivers/md/bcache/bset.c index d4f2164..cb4578a 100644 --- a/drivers/md/bcache/bset.c +++ b/drivers/md/bcache/bset.c
@@ -883,7 +883,7 @@ 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; }