diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-10 00:10:18 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-10 22:28:36 -0400 |
commit | 517236cb3e2f77bc785f06802dfbcca19dffd9ad (patch) | |
tree | 5339560a5fd6c55899a3053794cf18a1ddf8a25e /net/unix/garbage.c | |
parent | beccf29114886f1604e26f739cd108f048878ca8 (diff) |
bcachefs: Kill read lock dropping in bch2_btree_node_lock_write_nofail()
dropping read locks in bch2_btree_node_lock_write_nofail() dates from
before we had the cycle detector; we can now tell the cycle detector
directly when taking a lock may not fail because we can't handle
transaction restarts.
This is needed for adding should_be_locked asserts.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions