diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-10 06:10:18 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-11 04:28:36 +0200 |
commit | 517236cb3e2f77bc785f06802dfbcca19dffd9ad (patch) | |
tree | 5339560a5fd6c55899a3053794cf18a1ddf8a25e /fs/fat/Makefile | |
parent | bcachefs: Fix a race in btree_update_nodes_written() (diff) | |
download | linux-517236cb3e2f77bc785f06802dfbcca19dffd9ad.tar.xz linux-517236cb3e2f77bc785f06802dfbcca19dffd9ad.zip |
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 'fs/fat/Makefile')
0 files changed, 0 insertions, 0 deletions