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

bcachefs: Silence unimportant tracepoints

Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
parent 7c0732b8
...@@ -181,12 +181,14 @@ bool __bch2_btree_node_relock(struct btree_trans *trans, ...@@ -181,12 +181,14 @@ bool __bch2_btree_node_relock(struct btree_trans *trans,
return true; return true;
} }
fail: fail:
trace_btree_node_relock_fail(trans->fn, _RET_IP_, if (b != BTREE_ITER_NO_NODE_CACHED &&
path->btree_id, b != BTREE_ITER_NO_NODE_INIT)
&path->pos, trace_btree_node_relock_fail(trans->fn, _RET_IP_,
(unsigned long) b, path->btree_id,
path->l[level].lock_seq, &path->pos,
is_btree_node(path, level) ? b->c.lock.state.seq : 0); (unsigned long) b,
path->l[level].lock_seq,
is_btree_node(path, level) ? b->c.lock.state.seq : 0);
return false; return false;
} }
......
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