summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKent Overstreet2020-06-12 14:58:07 -0400
committerKent Overstreet2023-10-22 17:08:41 -0400
commit515282ac7d847d567dd3ba802edf34316368bb14 (patch)
treebf4b1cf0cbd0826e8899bf9c1b0c907d4cd38aed /tools/perf/scripts/python/bin
parent4e8224ed8ab3c671bb96b6b98c8f8de14637440d (diff)
bcachefs: Fix a deadlock
__bch2_btree_node_lock() was incorrectly using iter->pos as a proxy for btree node lock ordering, this caused an off by one error that was triggered by bch2_btree_node_get_sibling() getting the previous node. This refactors the code to compare against btree node keys directly. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions