diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-13 18:15:53 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:11 -0400 |
commit | ff5b741c25fb9546d876ca4c0c1d8720f6a2471c (patch) | |
tree | 0e2d24c85bb82e2b0c7bffdb5bffe2b841b78267 /tools/arch | |
parent | e9679b4a0618b0b55d22ec555bc9c6b2dab39809 (diff) |
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: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/arch')
0 files changed, 0 insertions, 0 deletions