Commit cc0f4eaa authored by Kent Overstreet's avatar Kent Overstreet

bcache: Use WARN_ONCE() instead of __WARN()

Signed-off-by: default avatarKent Overstreet <koverstreet@google.com>
parent cd953ed0
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment