Commit b3d1e6ca authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: Fix build warning when CONFIG_BCACHEFS_DEBUG=n

this function is only used by debug code, but we'd like to always build
it so we know that it does build.
Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 811d2bcd
...@@ -2408,7 +2408,8 @@ int bch2_trans_exit(struct btree_trans *trans) ...@@ -2408,7 +2408,8 @@ int bch2_trans_exit(struct btree_trans *trans)
return trans->error ? -EIO : 0; return trans->error ? -EIO : 0;
} }
static void bch2_btree_iter_node_to_text(struct printbuf *out, static void __maybe_unused
bch2_btree_iter_node_to_text(struct printbuf *out,
struct btree_bkey_cached_common *_b, struct btree_bkey_cached_common *_b,
enum btree_iter_type type) enum btree_iter_type type)
{ {
......
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