aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_trans_commit.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2023-08-13 22:15:53 +0000
committerKent Overstreet <[email protected]>2023-10-22 21:10:11 +0000
commitff5b741c25fb9546d876ca4c0c1d8720f6a2471c (patch)
tree0e2d24c85bb82e2b0c7bffdb5bffe2b841b78267 /fs/bcachefs/btree_trans_commit.c
parentbcachefs: Fix 'pointer to invalid device' check (diff)
downloadkernel-ff5b741c25fb9546d876ca4c0c1d8720f6a2471c.tar.gz
kernel-ff5b741c25fb9546d876ca4c0c1d8720f6a2471c.zip
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 <[email protected]>
Diffstat (limited to 'fs/bcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions