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

bcachefs: Zero btree_paths on allocation



This fixes a bug in the cycle detector, bch2_check_for_deadlock() - we
have to make sure the node pointers in the btree paths array are set to
something not-garbage before another thread may see them.

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