bcachefs: Fix lock_graph_remove_non_waiters()
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 12 Oct 2022 22:17:49 +0000 (18:17 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:43 +0000 (17:09 -0400)
commit896f1b316f8e8f51f83095ab4b0e319471d93803
tree400a22adf35a1a77b8bc1426b194edcdb5f02b20
parent65ff2d3a7abb9f1cc41dc824a9fc374a2c81eaf3
bcachefs: Fix lock_graph_remove_non_waiters()

We were removing 1 more entry than we were supposed to - oops.

Also some other simplifications and cleanups, and bring back the abort
preference code in a better fashion.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_locking.c