Commit f154c3eb authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: trans_for_each_path_safe()



bch2_btree_trans_to_text() is used on btree_trans objects that are owned
by different threads - when printing out deadlock cycles - so we need a
safe version of trans_for_each_path(), else we race with seeing a
btree_path that was just allocated and not fully initialized:

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent e7ffda56
Supports Markdown
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